]> git.sur5r.net Git - i3/i3/commitdiff
Bugfix: Don’t allow moving/resizing of fullscreen windows (Thanks xeen)
authorMichael Stapelberg <michael@stapelberg.de>
Tue, 13 Oct 2009 06:26:35 +0000 (08:26 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Tue, 13 Oct 2009 06:26:35 +0000 (08:26 +0200)
src/click.c

index 0aacf4507ab00dfaea012e7b5590bc08dc3cd214..b3a00afab1558983bbca54cfb214b9405873393f 100644 (file)
@@ -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) {