]> git.sur5r.net Git - i3/i3/commitdiff
Bugfix: Don’t resize client after base_height changes if client is in fullscreen...
authorMichael Stapelberg <michael@stapelberg.de>
Tue, 8 Dec 2009 19:52:19 +0000 (20:52 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Tue, 8 Dec 2009 19:53:25 +0000 (20:53 +0100)
src/handlers.c

index feacd16b55b512696d689c485d48aa0b092bd82c..6cc85f0176ad88aa265209ab3a1cc1a2c582a848 100644 (file)
@@ -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 */