From: Michael Stapelberg Date: Fri, 19 Jun 2009 20:48:18 +0000 (+0200) Subject: Bugfix: Correctly check for floating mode in the buttonpress handler (Thanks Mirko) X-Git-Tag: 3.b~42 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=589a73c8ea302b223e722c75ee165bb29e5a9847;p=i3%2Fi3 Bugfix: Correctly check for floating mode in the buttonpress handler (Thanks Mirko) --- diff --git a/src/handlers.c b/src/handlers.c index 2d4afc71..803c6f3b 100644 --- a/src/handlers.c +++ b/src/handlers.c @@ -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; }