projects
/
profile
/
ivi
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc3f817
)
fix resizing at top/left border
author
Tim Wiederhake
<twied@gmx.net>
Mon, 17 Jan 2011 16:50:07 +0000
(17:50 +0100)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Sun, 23 Jan 2011 18:59:30 +0000
(13:59 -0500)
clients/window.c
patch
|
blob
|
history
diff --git
a/clients/window.c
b/clients/window.c
index
5f78f33
..
ac14fd6
100644
(file)
--- 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;