From: Michael Stapelberg Date: Tue, 8 Dec 2009 19:52:19 +0000 (+0100) Subject: Bugfix: Don’t resize client after base_height changes if client is in fullscreen... X-Git-Tag: 3.d-bf1~9 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=06ef55ff1ffe3137d55de33fee2e48da8c16a742;p=i3%2Fi3 Bugfix: Don’t resize client after base_height changes if client is in fullscreen mode --- diff --git a/src/handlers.c b/src/handlers.c index feacd16b..6cc85f01 100644 --- a/src/handlers.c +++ b/src/handlers.c @@ -892,7 +892,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 */