aboutsummaryrefslogtreecommitdiff
path: root/xwayland/selection/outgoing.c
diff options
context:
space:
mode:
Diffstat (limited to 'xwayland/selection/outgoing.c')
-rw-r--r--xwayland/selection/outgoing.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xwayland/selection/outgoing.c b/xwayland/selection/outgoing.c
index 1e490adb..8074e3a7 100644
--- a/xwayland/selection/outgoing.c
+++ b/xwayland/selection/outgoing.c
@@ -297,6 +297,7 @@ static bool xwm_selection_send_data(struct wlr_xwm_selection *selection,
return false;
}
+ xwm_selection_transfer_init(transfer);
transfer->selection = selection;
transfer->request = *req;
wl_array_init(&transfer->source_data);