mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-17 06:59:43 -05:00
xwayland/selection: refactor remaining incremental transfer code
This commit is contained in:
parent
23148d283f
commit
703c17ae41
3 changed files with 50 additions and 42 deletions
|
|
@ -33,6 +33,13 @@ void xwm_selection_transfer_destroy_property_reply(
|
|||
transfer->property_reply = NULL;
|
||||
}
|
||||
|
||||
void xwm_selection_transfer_finish(
|
||||
struct wlr_xwm_selection_transfer *transfer) {
|
||||
xwm_selection_transfer_destroy_property_reply(transfer);
|
||||
xwm_selection_transfer_remove_event_source(transfer);
|
||||
xwm_selection_transfer_close_wl_client_fd(transfer);
|
||||
}
|
||||
|
||||
bool xwm_selection_transfer_get_selection_property(
|
||||
struct wlr_xwm_selection_transfer *transfer, bool delete) {
|
||||
struct wlr_xwm *xwm = transfer->selection->xwm;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue