From 2c42c0c760efa95f052c46bbb0f5b81725848e5b Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Thu, 25 Mar 2010 02:53:53 +0100 Subject: [PATCH] Bugfix: Correctly check bitmask for floating_modifier --- src/click.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;