From 87b6bf7a54026f0d983da4ed32ff03a5ef03d27d Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sat, 17 Dec 2011 13:55:16 +0000 Subject: [PATCH] Bugfix: Make resizing work when pressing floating_modifier + right mouse button on window decorations Fixes: #583 --- src/click.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/click.c b/src/click.c index e1192ae5..a0469650 100644 --- a/src/click.c +++ b/src/click.c @@ -254,7 +254,7 @@ static int route_click(Con *con, xcb_button_press_event_t *event, const bool mod } /* 7: floating modifier pressed, initiate a resize */ - if (mod_pressed && event->detail == 3) { + if (dest == CLICK_INSIDE && mod_pressed && event->detail == 3) { if (floating_mod_on_tiled_client(con, event)) return 1; }