Bugfix: Don’t resize client after base_height changes if client is in fullscreen mode
This commit is contained in:
parent
8622cf3917
commit
06ef55ff1f
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue