mirror of
https://github.com/swaywm/sway.git
synced 2025-11-15 06:59:50 -05:00
Don't destroy view child on xdg-popup unmap
This commit is contained in:
parent
b1c33ecc25
commit
360e63b8a7
3 changed files with 0 additions and 13 deletions
|
|
@ -82,10 +82,6 @@ static void unmanaged_handle_unmap(struct wl_listener *listener, void *data) {
|
|||
static void unmanaged_handle_destroy(struct wl_listener *listener, void *data) {
|
||||
struct sway_xwayland_unmanaged *surface =
|
||||
wl_container_of(listener, surface, destroy);
|
||||
struct wlr_xwayland_surface *xsurface = surface->wlr_xwayland_surface;
|
||||
if (xsurface->mapped) {
|
||||
unmanaged_handle_unmap(&surface->unmap, xsurface);
|
||||
}
|
||||
wl_list_remove(&surface->map.link);
|
||||
wl_list_remove(&surface->unmap.link);
|
||||
wl_list_remove(&surface->destroy.link);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue