]> git.sur5r.net Git - i3/i3/blobdiff - src/click.c
Bugfix: Replay unhandled pointer events (Thanks Marcus)
[i3/i3] / 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;
         }