From: Michael Stapelberg Date: Fri, 30 Oct 2015 07:38:53 +0000 (+0100) Subject: Bugfix: ignore XKB group bits in floating_modifier X-Git-Tag: 4.12~111 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=beb89e64b46266853a55770685e82f22081dffcb;p=i3%2Fi3 Bugfix: ignore XKB group bits in floating_modifier fixes #2046 --- diff --git a/src/click.c b/src/click.c index 92a1a1fa..c895666d 100644 --- a/src/click.c +++ b/src/click.c @@ -356,7 +356,7 @@ int handle_button_press(xcb_button_press_event_t *event) { last_timestamp = event->time; - const uint32_t mod = config.floating_modifier; + const uint32_t mod = (config.floating_modifier & 0xFFFF); const bool mod_pressed = (mod != 0 && (event->state & mod) == mod); DLOG("floating_mod = %d, detail = %d\n", mod_pressed, event->detail); if ((con = con_by_window_id(event->event)))