wayland: win_destroy(): unmap overlay surface before destroy

Like we do with all other surfaces.
This commit is contained in:
Daniel Eklöf 2026-06-18 07:48:05 +02:00
parent ca73ec71d5
commit 43d2d97386
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -2215,6 +2215,11 @@ wayl_win_destroy(struct wl_window *win)
wl_surface_commit(win->scrollback_indicator.surface.surf);
}
if (win->overlay.surface.surf != NULL) {
wl_surface_attach(win->overlay.surface.surf, NULL, 0, 0);
wl_surface_commit(win->overlay.surface.surf);
}
/* Scrollback search */
if (win->search.surface.surf != NULL) {
wl_surface_attach(win->search.surface.surf, NULL, 0, 0);