discomfitor pushed a commit to branch elementary-1.15.

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

commit 46060b652702241443da724e02ee985a843cd8b0
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