Bugfix: Replay unhandled pointer events (Thanks Marcus)

This commit is contained in:
Michael Stapelberg 2010-07-31 14:57:44 +02:00
parent 65058e0349
commit 26c61850bd
1 changed files with 2 additions and 0 deletions

View 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;
}