Bugfix: Correctly check for floating mode in the buttonpress handler (Thanks Mirko)

This commit is contained in:
Michael Stapelberg 2009-06-19 22:48:18 +02:00
parent 93ff4159c1
commit 589a73c8ea
1 changed files with 1 additions and 1 deletions

View File

@ -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"); LOG("Not handling, Mod1 was pressed and no client found\n");
return 1; return 1;
} }
if (client->floating) { if (client->floating >= FLOATING_AUTO_ON) {
floating_drag_window(conn, client, event); floating_drag_window(conn, client, event);
return 1; return 1;
} }