Browse Source
Merge pull request #3316 from AvaloniaUI/x11-clip-targets
[X11] Properly set property type for TARGETS clipboard response
pull/3319/head
danwalmsley
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/Avalonia.X11/X11Clipboard.cs
|
|
|
@ -79,7 +79,7 @@ namespace Avalonia.X11 |
|
|
|
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) |
|
|
|
|