aboutsummaryrefslogtreecommitdiff
path: root/include/xwayland
diff options
context:
space:
mode:
authorTudor Brindus <me@tbrindus.ca>2021-01-30 14:58:27 -0500
committerSimon Ser <contact@emersion.fr>2021-01-31 19:17:04 +0100
commitb3d782f81877088da496006892f8522299e40ccb (patch)
tree43f605965f0f64e0882583e7bd2897e1135879db /include/xwayland
parentaa86a022fa00edd0723ff48a6765ee7fbddefadc (diff)
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.
Diffstat (limited to 'include/xwayland')
-rw-r--r--include/xwayland/selection.h1
1 files changed, 1 insertions, 0 deletions
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);