Krzysztof Krysiński
1 month ago
committed by
Julien Lebosquain
No known key found for this signature in database
GPG Key ID: 1833CAD10ACC46FD
1 changed files with
7 additions and
0 deletions
-
src/Avalonia.X11/X11Globals.cs
|
|
|
@ -41,6 +41,13 @@ namespace Avalonia.X11 |
|
|
|
plat.Windows[_rootWindow] = OnRootWindowEvent; |
|
|
|
XSelectInput(_x11.Display, _rootWindow, |
|
|
|
new IntPtr((int)(EventMask.StructureNotifyMask | EventMask.PropertyChangeMask))); |
|
|
|
|
|
|
|
if (_x11.HasXkb) |
|
|
|
{ |
|
|
|
nint supportsDetectable = 0; |
|
|
|
XkbSetDetectableAutoRepeat(_x11.Display, true, supportsDetectable); |
|
|
|
} |
|
|
|
|
|
|
|
_compositingAtom = XInternAtom(_x11.Display, "_NET_WM_CM_S" + _screenNumber, false); |
|
|
|
OnNewWindowManager(); |
|
|
|
UpdateCompositingAtomOwner(); |
|
|
|
|