From ddf311955222a9d864ea4b524304a4cc6beb2135 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Tue, 8 Dec 2009 20:52:19 +0100 Subject: [PATCH] =?utf8?q?Bugfix:=20Don=E2=80=99t=20resize=20client=20afte?= =?utf8?q?r=20base=5Fheight=20changes=20if=20client=20is=20in=20fullscreen?= =?utf8?q?=20mode?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/handlers.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/handlers.c b/src/handlers.c index e9c44da6..560fad25 100644 --- a/src/handlers.c +++ b/src/handlers.c @@ -894,7 +894,10 @@ int handle_normal_hints(void *data, xcb_connection_t *conn, uint8_t state, xcb_w client->base_width = base_width; client->base_height = base_height; LOG("client's base_height changed to %d\n", base_height); - resize_client(conn, client); + if (client->fullscreen) + LOG("Not resizing client, it is in fullscreen mode\n"); + else + resize_client(conn, client); } /* If no aspect ratio was set or if it was invalid, we ignore the hints */ -- 2.39.5