diff options
author | Tim Wiederhake <twied@gmx.net> | 2011-01-17 17:50:07 +0100 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2011-01-23 13:59:30 -0500 |
commit | b6761dc29441025ed54b1c0035f2d2de903c32ae (patch) | |
tree | 0b20769f001d6ac96f4aa3499dc90b71b168407f | |
parent | dc3f817538db4566f1928680156936ecbbd485d1 (diff) |
fix resizing at top/left border
-rw-r--r-- | clients/window.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |