]> git.sur5r.net Git - i3/i3/commitdiff
Bugfix: Make resizing work when pressing floating_modifier + right mouse button on...
authorMichael Stapelberg <michael@stapelberg.de>
Sat, 17 Dec 2011 13:55:16 +0000 (13:55 +0000)
committerMichael Stapelberg <michael@stapelberg.de>
Sat, 17 Dec 2011 13:55:16 +0000 (13:55 +0000)
Fixes: #583
src/click.c

index e1192ae5250736f194cb4829fb5300a9c0ca6b65..a046965030bfe1451337df68ed328d9e7039cab8 100644 (file)
@@ -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;
     }