From: Michael Stapelberg Date: Thu, 25 Mar 2010 01:53:53 +0000 (+0100) Subject: Bugfix: Correctly check bitmask for floating_modifier X-Git-Tag: 3.e~6^2~34 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2c42c0c760efa95f052c46bbb0f5b81725848e5b;p=i3%2Fi3 Bugfix: Correctly check bitmask for floating_modifier --- diff --git a/src/click.c b/src/click.c index bec86788..c8b9d23b 100644 --- a/src/click.c +++ b/src/click.c @@ -265,7 +265,7 @@ int handle_button_press(void *ignored, xcb_connection_t *conn, xcb_button_press_ * to move around the client if it was floating. if not, we just process * as usual. */ if (config.floating_modifier != 0 && - (event->state & config.floating_modifier) != 0) { + (event->state & config.floating_modifier) == config.floating_modifier) { if (client == NULL) { DLOG("Not handling, floating_modifier was pressed and no client found\n"); return 1;