]> 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:52:19 +0000 (20:52 +0100)
src/handlers.c

index e9c44da60581bb45072fd7106576adec5aff0137..560fad25758c983bec488f474f926a1690443b1d 100644 (file)
@@ -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 */