Bugfix: Assign BORDER_BOTTOM instead of BORDER_RIGHT (Thanks Jan)

This commit is contained in:
Michael Stapelberg 2011-05-06 13:10:27 +02:00
parent 539fd43c08
commit ef3e241b78

View File

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