mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-01-04 04:00:20 +01:00
Fix XWayland crashes when opening popups
Signed-off-by: Axel Davy <axel.davy@ens.fr>
This commit is contained in:
parent
d716754cfb
commit
e4450f9123
1 changed files with 1 additions and 1 deletions
|
|
@ -2214,7 +2214,7 @@ xserver_map_shell_surface(struct weston_wm *wm,
|
|||
window->x,
|
||||
window->y,
|
||||
WL_SHELL_SURFACE_TRANSIENT_INACTIVE);
|
||||
} else if (window->transient_for) {
|
||||
} else if (window->transient_for && window->transient_for->surface) {
|
||||
parent = window->transient_for;
|
||||
shell_interface->set_transient(window->shsurf,
|
||||
parent->surface,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue