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.e~6^2~212 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ddf311955222a9d864ea4b524304a4cc6beb2135;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 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 */