From b6761dc29441025ed54b1c0035f2d2de903c32ae Mon Sep 17 00:00:00 2001 From: Tim Wiederhake Date: Mon, 17 Jan 2011 17:50:07 +0100 Subject: [PATCH] fix resizing at top/left border --- clients/window.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clients/window.c b/clients/window.c index 5f78f337..ac14fd68 100644 --- a/clients/window.c +++ b/clients/window.c @@ -1093,6 +1093,8 @@ handle_configure(void *data, struct wl_shell *shell, if(width <= 0 || height <= 0) return; + window->resize_edges = edges; + if (window->resize_handler) { child_width = width - 20 - window->margin * 2; child_height = height - 60 - window->margin * 2; @@ -1101,7 +1103,6 @@ handle_configure(void *data, struct wl_shell *shell, child_width, child_height, window->user_data); } else { - window->resize_edges = edges; window->allocation.width = width; window->allocation.height = height;