Bugfix: Don’t allow moving/resizing of fullscreen windows (Thanks xeen)

This commit is contained in:
Michael Stapelberg 2009-10-13 08:26:35 +02:00
parent 04884ab8cd
commit da97b89b31
1 changed files with 4 additions and 0 deletions

View 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) {