[PATCH] shell: Fix crash when mapping a transient surface.
zhiwen.wu at linux.intel.com
zhiwen.wu at linux.intel.com
Wed Mar 14 00:34:31 PDT 2012
From: Alex Wu <zhiwen.wu at linux.intel.com>
Not set parent in set_transient.
---
src/shell.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/shell.c b/src/shell.c
index 765b0a4..bf40b79 100644
--- a/src/shell.c
+++ b/src/shell.c
@@ -448,6 +448,7 @@ shell_surface_set_transient(struct wl_client *client,
/* assign to parents output */
shsurf->output = pes->output;
+ shsurf->parent = parent_resource->data;
weston_surface_set_position(es, pes->geometry.x + x,
pes->geometry.y + y);
--
1.7.5.4
More information about the wayland-devel
mailing list