From b94d7cea0d3a05b3e05664fe697431b618a43328 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Wed, 15 Apr 2026 16:46:09 +0200 Subject: Add save and restore position and sizes of windows for floating/tiled --- glitch.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'glitch.h') 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 { -- cgit v1.2.3