mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-08 07:48:07 +02:00
xwm: Fix crash when we don't have a transient_for window
This commit is contained in:
parent
54b1d2ca84
commit
cd80f107b3
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue