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:
parent
d343487f94
commit
2ace38aba0
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue