]> git.sur5r.net Git - i3/i3/commitdiff
Bugfix: Assign BORDER_BOTTOM instead of BORDER_RIGHT (Thanks Jan)
authorMichael Stapelberg <michael@stapelberg.de>
Fri, 6 May 2011 11:10:27 +0000 (13:10 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Fri, 6 May 2011 11:11:00 +0000 (13:11 +0200)
src/floating.c

index 7b9d3ffeb6eecbdb0867f9842a4772cdc98b9aa1..ef5ccbbdef39e9ead3144ee162260a2c3e0da5b7 100644 (file)
@@ -360,7 +360,7 @@ void floating_resize_window(xcb_connection_t *conn, Client *client,
 
         if (event->event_y <= (client->rect.height / 2))
                 corner |= BORDER_TOP;
-        else corner |= BORDER_RIGHT;
+        else corner |= BORDER_BOTTOM;
 
         struct resize_window_callback_params params = { corner, proportional, event };