projects
/
profile
/
ivi
/
weston-ivi-shell.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6665063
)
window: Don't set the window size in widget_set_size()
author
Kristian Høgsberg
<krh@bitplanet.net>
Wed, 8 Feb 2012 19:45:02 +0000
(14:45 -0500)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Wed, 8 Feb 2012 19:45:02 +0000
(14:45 -0500)
We propagate the toplevel widget size to the window size in the
window.c resize code.
clients/window.c
patch
|
blob
|
history
diff --git
a/clients/window.c
b/clients/window.c
index
d10662b
..
3246189
100644
(file)
--- a/
clients/window.c
+++ b/
clients/window.c
@@
-1080,11
+1080,6
@@
widget_set_size(struct widget *widget, int32_t width, int32_t height)
widget->allocation.width = width;
widget->allocation.height = height;
-
- window->allocation.x = 0;
- window->allocation.y = 0;
- window->allocation.width = width;
- window->allocation.height = height;
}
void