X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Fclick.c;h=a046965030bfe1451337df68ed328d9e7039cab8;hb=87b6bf7a54026f0d983da4ed32ff03a5ef03d27d;hp=e1192ae5250736f194cb4829fb5300a9c0ca6b65;hpb=1c6de74d4f6da572b95097ece4139070f2398881;p=i3%2Fi3 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; }