xwm: Fix crash when we don't have a transient_for window
This commit is contained in:
@@ -1323,7 +1323,7 @@ xserver_map_shell_surface(struct weston_wm *wm,
|
|||||||
&shell_client);
|
&shell_client);
|
||||||
|
|
||||||
/* ICCCM 4.1.1 */
|
/* ICCCM 4.1.1 */
|
||||||
if (!window->override_redirect) {
|
if (!window->override_redirect || !window->transient_for) {
|
||||||
shell_interface->set_toplevel(window->shsurf);
|
shell_interface->set_toplevel(window->shsurf);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user