diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2026-06-18 05:48:05 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2026-06-18 05:48:05 +0000 |
| commit | 43d2d97386663ebd42563eb44b7fca8e9a7584ae (patch) | |
| tree | 9639b1f31ec0c86726f0e9c52f0e3f68483425cc | |
| parent | selection: escape quotes in file names being DnD:ed on the command line (diff) | |
wayland: win_destroy(): unmap overlay surface before destroy
Like we do with all other surfaces.
| -rw-r--r-- | wayland.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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); |
