discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=a55c51e83c1daf25cecbf8279603d587694adf36

commit a55c51e83c1daf25cecbf8279603d587694adf36
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Thu Aug 13 14:49:28 2015 -0400

    cnp: initialize Elm_Selection_Data.action for wayland drops
    
    wayland drops are probably always copy, though there's no real functional
    equivalent for the x11 meaning of this
    
    @fix
---
 src/lib/elm_cnp.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/elm_cnp.c b/src/lib/elm_cnp.c
index 68ceb3e..98835b6 100644
--- a/src/lib/elm_cnp.c
+++ b/src/lib/elm_cnp.c
@@ -3221,6 +3221,7 @@ _wl_dropable_data_handle(Wl_Cnp_Selection *sel, char 
*data)
    if (!(s = malloc(len + 1))) return;
    memcpy(s, data, len);
    s[len] = 0;
+   sdata.action = ELM_XDND_ACTION_COPY;
 
    if (savedtypes.textreq)
      {

-- 


Reply via email to