From: Michael Stapelberg Date: Sat, 17 Dec 2011 13:55:16 +0000 (+0000) Subject: Bugfix: Make resizing work when pressing floating_modifier + right mouse button on... X-Git-Tag: 4.1.1~17^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=87b6bf7a54026f0d983da4ed32ff03a5ef03d27d;p=i3%2Fi3 Bugfix: Make resizing work when pressing floating_modifier + right mouse button on window decorations Fixes: #583 --- 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; }