From: Michael Stapelberg Date: Sat, 31 Jul 2010 12:57:44 +0000 (+0200) Subject: Bugfix: Replay unhandled pointer events (Thanks Marcus) X-Git-Tag: 4.0~46 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=06da6d98e75bee02c1ad699d2f684ca36be66041;p=i3%2Fi3 Bugfix: Replay unhandled pointer events (Thanks Marcus) --- diff --git a/src/click.c b/src/click.c index 9f2a47ff..5efa16c9 100644 --- a/src/click.c +++ b/src/click.c @@ -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; }