From 06da6d98e75bee02c1ad699d2f684ca36be66041 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sat, 31 Jul 2010 14:57:44 +0200 Subject: [PATCH] Bugfix: Replay unhandled pointer events (Thanks Marcus) --- src/click.c | 2 ++ 1 file changed, 2 insertions(+) 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; }