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
This commit is contained in:
Mike Blumenkrantz 2015-08-13 14:49:28 -04:00
parent d343487f94
commit 2ace38aba0
1 changed files with 1 additions and 0 deletions

View File

@ -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)
{