From da97b89b31bc146a1c8ac7fba51bcf3abd7559ab Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Tue, 13 Oct 2009 08:26:35 +0200 Subject: [PATCH] =?utf8?q?Bugfix:=20Don=E2=80=99t=20allow=20moving/resizin?= =?utf8?q?g=20of=20fullscreen=20windows=20(Thanks=20xeen)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/click.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/click.c b/src/click.c index 0aacf450..b3a00afa 100644 --- a/src/click.c +++ b/src/click.c @@ -187,6 +187,10 @@ int handle_button_press(void *ignored, xcb_connection_t *conn, xcb_button_press_ LOG("Not handling, floating_modifier was pressed and no client found\n"); return 1; } + if (client->fullscreen) { + LOG("Not handling, client is in fullscreen mode\n"); + return 1; + } if (client_is_floating(client)) { LOG("button %d pressed\n", event->detail); if (event->detail == 1) { -- 2.39.5