summaryrefslogtreecommitdiff
path: root/glitch.h
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2026-04-15 16:46:09 +0200
committerMitja Felicijan <mitja.felicijan@gmail.com>2026-04-15 16:46:09 +0200
commitb94d7cea0d3a05b3e05664fe697431b618a43328 (patch)
treef3f80fc2ea83a1a3f576505c1d43e88ab4abb5ef /glitch.h
parent07b63258b0acc1f715111642d1e95d34d811e6f9 (diff)
downloadglitch-b94d7cea0d3a05b3e05664fe697431b618a43328.tar.gz
Add save and restore position and sizes of windows for floating/tiled
Diffstat (limited to 'glitch.h')
-rw-r--r--glitch.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/glitch.h b/glitch.h
index b4e416d..c5dc272 100644
--- a/glitch.h
+++ b/glitch.h
@@ -50,6 +50,9 @@ typedef struct Client {
Window window;
struct Client *next;
struct Client *prev;
+ int saved_x, saved_y;
+ unsigned int saved_w, saved_h;
+ int has_saved_state;
} Client;
typedef struct {