Bugfix: Correctly check for floating mode in the buttonpress handler (Thanks Mirko)
This commit is contained in:
parent
93ff4159c1
commit
589a73c8ea
|
@ -309,7 +309,7 @@ int handle_button_press(void *ignored, xcb_connection_t *conn, xcb_button_press_
|
|||
LOG("Not handling, Mod1 was pressed and no client found\n");
|
||||
return 1;
|
||||
}
|
||||
if (client->floating) {
|
||||
if (client->floating >= FLOATING_AUTO_ON) {
|
||||
floating_drag_window(conn, client, event);
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue