walterlv
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
src/Avalonia.X11/X11Window.cs
|
|
|
@ -1392,7 +1392,7 @@ namespace Avalonia.X11 |
|
|
|
var ptr = (IntPtr*)prop.ToPointer(); |
|
|
|
var newAtoms = new HashSet<IntPtr>(); |
|
|
|
for (var c = 0; c < nitems.ToInt64(); c++) |
|
|
|
newAtoms.Add(*ptr); |
|
|
|
newAtoms.Add(*(ptr+c)); |
|
|
|
XFree(prop); |
|
|
|
foreach(var atom in atoms) |
|
|
|
if (enable) |
|
|
|
|