From: Tim Wiederhake Date: Mon, 17 Jan 2011 16:50:07 +0000 (+0100) Subject: fix resizing at top/left border X-Git-Tag: 0.85.0~644 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b6761dc29441025ed54b1c0035f2d2de903c32ae;p=platform%2Fupstream%2Fweston.git fix resizing at top/left border --- diff --git a/clients/window.c b/clients/window.c index 5f78f33..ac14fd6 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;