From fcd73323782b675511e6bbc6c79b50a2e37a9716 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 28 Jul 2017 13:49:30 -0400 Subject: [PATCH] set xwl-originating data source dnd actions during source creation --- src/modules/xwayland/dnd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/xwayland/dnd.c b/src/modules/xwayland/dnd.c index 9c188ccd9..635c48ec4 100644 --- a/src/modules/xwayland/dnd.c +++ b/src/modules/xwayland/dnd.c @@ -219,6 +219,8 @@ _xwl_fixes_selection_notify(void *d EINA_UNUSED, int t EINA_UNUSED, Ecore_X_Even e_comp_canvas_feed_mouse_up(0); source = e_comp_wl_data_manager_source_create(e_comp_wl->xwl_client, e_comp_wl->mgr.resource, 0); + source->current_dnd_action = WL_DATA_DEVICE_MANAGER_DND_ACTION_COPY; + source->dnd_actions = WL_DATA_DEVICE_MANAGER_DND_ACTION_COPY; e_comp_wl->drag_source = source; source->target = _xwayland_target_send; source->send = _xwayland_send_send;