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:
4e363d2
)
shell: Fix crash when an input panel is hiding
author
Jan Arne Petersen
<jpetersen@openismus.com>
Wed, 26 Sep 2012 12:39:45 +0000
(14:39 +0200)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Wed, 26 Sep 2012 15:28:31 +0000
(11:28 -0400)
Set the geometry.dirty on the input panel surface before calling
weston_surface_update_transform, so that the surface gets an output
assigned.
src/shell.c
patch
|
blob
|
history
diff --git
a/src/shell.c
b/src/shell.c
index
2afa1b3
..
e2715d6
100644
(file)
--- a/
src/shell.c
+++ b/
src/shell.c
@@
-2763,6
+2763,7
@@
show_input_panels(struct wl_listener *listener, void *data)
ws = surface->surface;
wl_list_insert(&shell->input_panel_layer.surface_list,
&ws->layer_link);
+ ws->geometry.dirty = 1;
weston_surface_update_transform(ws);
weston_surface_damage(ws);
weston_slide_run(ws, ws->geometry.height, 0, NULL, NULL);