From 54e6da6576e85b03f84405b5f9ff56ffd6d5abd2 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Thu, 21 Apr 2016 12:10:03 -0400 Subject: [PATCH] only update wl dnd actions when applying focus --- src/bin/e_comp_wl_data.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/bin/e_comp_wl_data.c b/src/bin/e_comp_wl_data.c index 48e482281..31f7c22a8 100644 --- a/src/bin/e_comp_wl_data.c +++ b/src/bin/e_comp_wl_data.c @@ -470,8 +470,6 @@ _e_comp_wl_data_device_data_offer_create(E_Comp_Wl_Data_Source *source, struct w wl_data_offer_send_offer(offer->resource, t); eina_iterator_free(it); - data_offer_update_action(offer); - return offer->resource; } @@ -979,6 +977,7 @@ e_comp_wl_data_device_send_enter(E_Client *ec) if (!data_device_res) return; offer_res = e_comp_wl_data_device_send_offer(ec); if (e_comp_wl->drag_source && (!offer_res)) return; + data_offer_update_action(drag_source->offer); if (offer_res) { if (wl_resource_get_version(offer_res) >= WL_DATA_OFFER_SOURCE_ACTIONS_SINCE_VERSION)