]> git.sur5r.net Git - i3/i3/commitdiff
Bugfix: Replay unhandled pointer events (Thanks Marcus)
authorMichael Stapelberg <michael@stapelberg.de>
Sat, 31 Jul 2010 12:57:44 +0000 (14:57 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Sat, 31 Jul 2010 12:59:02 +0000 (14:59 +0200)
src/click.c

index 9f2a47ff22f45a2948d0e084253b0107cac84306..5efa16c95aa2c496ff3773cab0727d5b3db636af 100644 (file)
@@ -309,6 +309,8 @@ int handle_button_press(void *ignored, xcb_connection_t *conn, xcb_button_press_
                         return 1;
 
                 DLOG("Could not handle this button press\n");
+                xcb_allow_events(conn, XCB_ALLOW_REPLAY_POINTER, event->time);
+                xcb_flush(conn);
                 return 1;
         }