From: Michael Stapelberg Date: Sat, 27 Mar 2010 02:45:48 +0000 (+0100) Subject: Bugfix: Correctly ignore clicks when client is in fullscreen mode (Thanks Sasha) X-Git-Tag: 3.e~6^2~21 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=112f17c6908905c46558cbb707eb0a27cd7e1998;p=i3%2Fi3 Bugfix: Correctly ignore clicks when client is in fullscreen mode (Thanks Sasha) --- diff --git a/src/click.c b/src/click.c index c8b9d23b..9f2a47ff 100644 --- a/src/click.c +++ b/src/click.c @@ -268,10 +268,14 @@ int handle_button_press(void *ignored, xcb_connection_t *conn, xcb_button_press_ (event->state & config.floating_modifier) == config.floating_modifier) { if (client == NULL) { DLOG("Not handling, floating_modifier was pressed and no client found\n"); + xcb_allow_events(conn, XCB_ALLOW_REPLAY_POINTER, event->time); + xcb_flush(conn); return 1; } if (client->fullscreen) { DLOG("Not handling, client is in fullscreen mode\n"); + xcb_allow_events(conn, XCB_ALLOW_REPLAY_POINTER, event->time); + xcb_flush(conn); return 1; } if (client_is_floating(client)) {