aboutsummaryrefslogtreecommitdiff
path: root/src/click.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/click.c')
-rw-r--r--src/click.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/click.c b/src/click.c
index 19076252..f038f290 100644
--- a/src/click.c
+++ b/src/click.c
@@ -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))