From: Michael Stapelberg Date: Wed, 4 Mar 2009 20:56:27 +0000 (+0100) Subject: Bugfix: Border presses weren’t correctly handled X-Git-Tag: 3.a~99 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0344ca3f36fe130fd8f25a22236ef7e12af43d57;p=i3%2Fi3 Bugfix: Border presses weren’t correctly handled --- diff --git a/src/handlers.c b/src/handlers.c index 07493f3e..22140e9e 100644 --- a/src/handlers.c +++ b/src/handlers.c @@ -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;