Skip to content
Permalink
Browse files

[X11] Properly set property type for TARGETS clipboard response

  • Loading branch information
kekekeks committed Dec 2, 2019
1 parent ddd320b commit 65918a9aa25121ccd291eb337fcf4b5995c03e6a
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Avalonia.X11/X11Clipboard.cs
@@ -79,7 +79,7 @@ IntPtr WriteTargetToProperty(IntPtr target, IntPtr window, IntPtr property)
atoms = atoms.Concat(new[] {_x11.Atoms.TARGETS, _x11.Atoms.MULTIPLE})
.ToArray();
XChangeProperty(_x11.Display, window, property,
target, 32, PropertyMode.Replace, atoms, atoms.Length);
_x11.Atoms.XA_ATOM, 32, PropertyMode.Replace, atoms, atoms.Length);
return property;
}
else if(target == _x11.Atoms.SAVE_TARGETS && _x11.Atoms.SAVE_TARGETS != IntPtr.Zero)

0 comments on commit 65918a9

Please sign in to comment.
You can’t perform that action at this time.