diff options
author | John Chadwick <john@jchw.io> | 2020-07-02 19:25:25 -0700 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-07-03 09:42:36 +0200 |
commit | 58bcec9d9490b1421611854aaf5ca3ece4581f27 (patch) | |
tree | 0110b92162035778a2c1053e62c89e2f1c138f36 /include | |
parent | f82a27f55a3be7f2d6bdd53a306f49f339ef6b8f (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 'include')
-rw-r--r-- | include/xwayland/selection.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/xwayland/selection.h b/include/xwayland/selection.h index 85201461..67a23e81 100644 --- a/include/xwayland/selection.h +++ b/include/xwayland/selection.h @@ -56,6 +56,8 @@ struct wlr_xwm_selection *xwm_get_selection(struct wlr_xwm *xwm, void xwm_send_incr_chunk(struct wlr_xwm_selection_transfer *transfer); void xwm_handle_selection_request(struct wlr_xwm *xwm, xcb_selection_request_event_t *req); +void xwm_handle_selection_destroy_notify(struct wlr_xwm *xwm, + xcb_destroy_notify_event_t *event); void xwm_get_incr_chunk(struct wlr_xwm_selection_transfer *transfer); void xwm_handle_selection_notify(struct wlr_xwm *xwm, |