aboutsummaryrefslogtreecommitdiff
path: root/xwayland/xwm.c
diff options
context:
space:
mode:
authorJohn Chadwick <john@jchw.io>2020-07-02 19:25:25 -0700
committerSimon Ser <contact@emersion.fr>2020-07-03 09:42:36 +0200
commit58bcec9d9490b1421611854aaf5ca3ece4581f27 (patch)
tree0110b92162035778a2c1053e62c89e2f1c138f36 /xwayland/xwm.c
parentf82a27f55a3be7f2d6bdd53a306f49f339ef6b8f (diff)
xwm: end transfers when the requestor is destroyed
This improves the failure cases when incremental transfers fail to complete successfully for one reason or another.
Diffstat (limited to 'xwayland/xwm.c')
-rw-r--r--xwayland/xwm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xwayland/xwm.c b/xwayland/xwm.c
index a0ff4d90..28e329f3 100644
--- a/xwayland/xwm.c
+++ b/xwayland/xwm.c
@@ -846,6 +846,7 @@ static void xwm_handle_destroy_notify(struct wlr_xwm *xwm,
return;
}
xwayland_surface_destroy(xsurface);
+ xwm_handle_selection_destroy_notify(xwm, ev);
}
static void xwm_handle_configure_request(struct wlr_xwm *xwm,