]> git.sur5r.net Git - i3/i3/commitdiff
Bugfix: Border presses weren’t correctly handled
authorMichael Stapelberg <michael+x200@stapelberg.de>
Wed, 4 Mar 2009 20:56:27 +0000 (21:56 +0100)
committerMichael Stapelberg <michael+x200@stapelberg.de>
Wed, 4 Mar 2009 20:56:27 +0000 (21:56 +0100)
src/handlers.c

index 07493f3ec7ecddbf4daa157b0fd64eee9eb7d880..22140e9e7466b5d46e862df5e1cc8498e59077a2 100644 (file)
@@ -206,7 +206,7 @@ int handle_button_press(void *ignored, xcb_connection_t *conn, xcb_button_press_
                 first = con;
                 second = con->workspace->table[con->col][con->row+1];
                 orientation = O_HORIZONTAL;
-        } else if (event->event_x < 2) {
+        } else if (event->event_x <= 2) {
                 /* …left border */
                 if (con->col == 0)
                         return 1;