From b3d782f81877088da496006892f8522299e40ccb Mon Sep 17 00:00:00 2001 From: Tudor Brindus Date: Sat, 30 Jan 2021 14:58:27 -0500 Subject: xwayland/selection: introduce `xwm_selection_transfer_init` Currently, all this does is initialize `wl_client_fd` to -1, so that comparisons with 0 are meaningful. --- include/xwayland/selection.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/xwayland/selection.h b/include/xwayland/selection.h index 43d59054..8b171e1e 100644 --- a/include/xwayland/selection.h +++ b/include/xwayland/selection.h @@ -47,6 +47,7 @@ void xwm_selection_transfer_close_wl_client_fd( struct wlr_xwm_selection_transfer *transfer); void xwm_selection_transfer_destroy_property_reply( struct wlr_xwm_selection_transfer *transfer); +void xwm_selection_transfer_init(struct wlr_xwm_selection_transfer *transfer); void xwm_selection_transfer_finish(struct wlr_xwm_selection_transfer *transfer); bool xwm_selection_transfer_get_selection_property( struct wlr_xwm_selection_transfer *transfer, bool delete); -- cgit v1.2.3