Avoid resizing fullscreen container

Fixes #3980
This commit is contained in:
Orestis Floros 2020-03-31 08:52:53 +02:00
parent 164336099d
commit 1a2882d740
No known key found for this signature in database
GPG Key ID: A09DBD7D3222C1C3
1 changed files with 5 additions and 0 deletions

View File

@ -275,6 +275,11 @@ static int route_click(Con *con, xcb_button_press_event_t *event, const bool mod
goto done;
}
if (fs) {
/* Fullscreen container exists, avoid resizes */
goto done;
}
/* 7: floating modifier pressed, initiate a resize */
if (dest == CLICK_INSIDE && mod_pressed && event->detail == XCB_BUTTON_CLICK_RIGHT) {
if (floating_mod_on_tiled_client(con, event))