Skip to content

Commit

Permalink
Merge pull request #3316 from AvaloniaUI/x11-clip-targets
Browse files Browse the repository at this point in the history
[X11] Properly set property type for TARGETS clipboard response
  • Loading branch information
danwalmsley committed Dec 2, 2019
1 parent fcfeb12 commit 261e661
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Avalonia.X11/X11Clipboard.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 261e661

Please sign in to comment.