diff options
author | Ingo Bürk <admin@airblader.de> | 2020-03-31 09:52:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-31 09:52:46 +0200 |
commit | cf505eaea88a512d902aa8aba7136e0e584faf09 (patch) | |
tree | bb4ff14ec941bff21de790dd730b617a537ef9ed | |
parent | 164336099d731456448fd1150c3993f08c82dcc4 (diff) | |
parent | 1a2882d740ecc01312cf26ea5fac608077af7386 (diff) | |
download | i3-cf505eaea88a512d902aa8aba7136e0e584faf09.tar.gz i3-cf505eaea88a512d902aa8aba7136e0e584faf09.zip |
Merge pull request #3983 from orestisfl/resize-behind-fullscreen
Avoid resizing fullscreen container
-rw-r--r-- | src/click.c | 5 |
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)) |