From 1a2882d740ecc01312cf26ea5fac608077af7386 Mon Sep 17 00:00:00 2001 From: Orestis Floros Date: Tue, 31 Mar 2020 08:52:53 +0200 Subject: Avoid resizing fullscreen container Fixes #3980 --- src/click.c | 5 +++++ 1 file changed, 5 insertions(+) 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)) -- cgit v1.2.3-54-g00ecf