discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=54e6da6576e85b03f84405b5f9ff56ffd6d5abd2

commit 54e6da6576e85b03f84405b5f9ff56ffd6d5abd2
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Thu Apr 21 12:10:03 2016 -0400

    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 48e4822..31f7c22 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)

-- 


Reply via email to