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.
This commit is contained in:
John Chadwick 2020-07-02 19:25:25 -07:00 committed by Simon Ser
parent f82a27f55a
commit 58bcec9d94
3 changed files with 24 additions and 0 deletions

View file

@ -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,