Bugfix: Don’t resize client after base_height changes if client is in fullscreen mode

This commit is contained in:
Michael Stapelberg 2009-12-08 20:52:19 +01:00
parent 8622cf3917
commit 06ef55ff1f
1 changed files with 4 additions and 1 deletions

View File

@ -892,6 +892,9 @@ int handle_normal_hints(void *data, xcb_connection_t *conn, uint8_t state, xcb_w
client->base_width = base_width; client->base_width = base_width;
client->base_height = base_height; client->base_height = base_height;
LOG("client's base_height changed to %d\n", base_height); LOG("client's base_height changed to %d\n", base_height);
if (client->fullscreen)
LOG("Not resizing client, it is in fullscreen mode\n");
else
resize_client(conn, client); resize_client(conn, client);
} }