mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-27 06:59:46 -05:00
rootston: fix crash when closing a fullscreened xwayland view
This commit is contained in:
parent
6ba36cc52f
commit
1842487d61
1 changed files with 6 additions and 0 deletions
|
|
@ -267,6 +267,12 @@ static void handle_unmap_notify(struct wl_listener *listener, void *data) {
|
||||||
child->destroy(child);
|
child->destroy(child);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (view->fullscreen_output != NULL) {
|
||||||
|
output_damage_whole(view->fullscreen_output);
|
||||||
|
view->fullscreen_output->fullscreen_view = NULL;
|
||||||
|
view->fullscreen_output = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
view->wlr_surface = NULL;
|
view->wlr_surface = NULL;
|
||||||
view->width = view->height = 0;
|
view->width = view->height = 0;
|
||||||
wl_list_remove(&view->link);
|
wl_list_remove(&view->link);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue