From: Kristian Høgsberg Date: Fri, 15 Jun 2012 19:40:18 +0000 (-0400) Subject: xwm: Fix crash when we don't have a transient_for window X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cd80f107b34de152df85a8275277b8df98a44f1f;p=profile%2Fivi%2Fweston-ivi-shell.git xwm: Fix crash when we don't have a transient_for window --- diff --git a/src/xwayland/window-manager.c b/src/xwayland/window-manager.c index da4a4af..ac72458 100644 --- a/src/xwayland/window-manager.c +++ b/src/xwayland/window-manager.c @@ -1323,7 +1323,7 @@ xserver_map_shell_surface(struct weston_wm *wm, &shell_client); /* ICCCM 4.1.1 */ - if (!window->override_redirect) { + if (!window->override_redirect || !window->transient_for) { shell_interface->set_toplevel(window->shsurf); return; }