From: Michael Stapelberg Date: Sat, 31 Jul 2010 12:57:44 +0000 (+0200) Subject: Bugfix: Replay unhandled pointer events (Thanks Marcus) X-Git-Tag: 3.e-bf2~24 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=26c61850bd8c437595bd3f2e9c17b1752b6dac4c;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; }