mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-06-20 14:33:19 -04:00
wayland: win_destroy(): unmap overlay surface before destroy
Like we do with all other surfaces.
This commit is contained in:
parent
ca73ec71d5
commit
43d2d97386
1 changed files with 5 additions and 0 deletions
|
|
@ -2215,6 +2215,11 @@ wayl_win_destroy(struct wl_window *win)
|
||||||
wl_surface_commit(win->scrollback_indicator.surface.surf);
|
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 */
|
/* Scrollback search */
|
||||||
if (win->search.surface.surf != NULL) {
|
if (win->search.surface.surf != NULL) {
|
||||||
wl_surface_attach(win->search.surface.surf, NULL, 0, 0);
|
wl_surface_attach(win->search.surface.surf, NULL, 0, 0);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue