diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-05-12 14:56:20 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-12 14:56:20 -0400 |
commit | 9d607b72532096e469fdaccf474836c310b629ff (patch) | |
tree | 963c5348e2d48ed188e2d4f08ecb01898f1d116d /sway/desktop/xwayland.c | |
parent | b1c33ecc256c58c7ecee28e2f4507dd374727d62 (diff) | |
parent | 360e63b8a73836b85b44980ce7e0f77348d43df3 (diff) |
Merge pull request #1967 from emersion/remove-xdg-popup-unmap
Don't destroy view child on xdg-popup unmap
Diffstat (limited to 'sway/desktop/xwayland.c')
-rw-r--r-- | sway/desktop/xwayland.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c index 8f935760..1d3c857d 100644 --- a/sway/desktop/xwayland.c +++ b/sway/desktop/xwayland.c @@ -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); |