]> 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:09:50 +0000 (13:09 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Fri, 6 May 2011 11:09:50 +0000 (13:09 +0200)
src/floating.c

index 85aaa6e7bb4f31edc30040192166dede0e6ac7c6..2ac4afda0d39bb5e32a14aa38ca3715a50ec8905 100644 (file)
@@ -381,7 +381,7 @@ void floating_resize_window(Con *con, bool proportional,
 
     if (event->event_y <= (con->rect.height / 2))
         corner |= BORDER_TOP;
-    else corner |= BORDER_RIGHT;
+    else corner |= BORDER_BOTTOM;
 
     struct resize_window_callback_params params = { corner, proportional, event };