From: Michael Stapelberg Date: Tue, 13 Oct 2009 06:26:35 +0000 (+0200) Subject: Bugfix: Don’t allow moving/resizing of fullscreen windows (Thanks xeen) X-Git-Tag: 3.d~43 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=da97b89b31bc146a1c8ac7fba51bcf3abd7559ab;p=i3%2Fi3 Bugfix: Don’t allow moving/resizing of fullscreen windows (Thanks xeen) --- 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) {