Bugfix: Don’t allow moving/resizing of fullscreen windows (Thanks xeen)
This commit is contained in:
parent
04884ab8cd
commit
da97b89b31
|
@ -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");
|
LOG("Not handling, floating_modifier was pressed and no client found\n");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
if (client->fullscreen) {
|
||||||
|
LOG("Not handling, client is in fullscreen mode\n");
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
if (client_is_floating(client)) {
|
if (client_is_floating(client)) {
|
||||||
LOG("button %d pressed\n", event->detail);
|
LOG("button %d pressed\n", event->detail);
|
||||||
if (event->detail == 1) {
|
if (event->detail == 1) {
|
||||||
|
|
Loading…
Reference in New Issue