From 112f17c6908905c46558cbb707eb0a27cd7e1998 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sat, 27 Mar 2010 03:45:48 +0100 Subject: [PATCH] Bugfix: Correctly ignore clicks when client is in fullscreen mode (Thanks Sasha) --- src/click.c | 4 ++++ 1 file changed, 4 insertions(+) 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)) { -- 2.39.5