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:
b0d604f
)
westoy: Schedule a full resize when we add a subsurface
author
Jasper St. Pierre
<jstpierre@mecheye.net>
Tue, 12 Nov 2013 01:07:33 +0000
(20:07 -0500)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Sat, 1 Feb 2014 09:42:31 +0000
(
01:42
-0800)
If a client adds a subsurface, we need to make sure it's allocated
properly, so queue a resize and redraw on the parent window.
clients/window.c
patch
|
blob
|
history
diff --git
a/clients/window.c
b/clients/window.c
index
75e6418
..
a75a7f8
100644
(file)
--- a/
clients/window.c
+++ b/
clients/window.c
@@
-4671,6
+4671,9
@@
window_add_subsurface(struct window *window, void *data,
assert(!"bad enum subsurface_mode");
}
+ window->resize_needed = 1;
+ window_schedule_redraw(window);
+
return widget;
}