Browse Source

Fix compose key handling when IME is not enabled

pull/10950/head
Nikita Tsukanov 3 years ago
parent
commit
fc00c1c3d4
  1. 5
      src/Avalonia.X11/X11Platform.cs

5
src/Avalonia.X11/X11Platform.cs

@ -50,9 +50,8 @@ namespace Avalonia.X11
useXim = true;
}
// XIM doesn't work at all otherwise
if (useXim)
setlocale(0, "");
// We have problems with text input otherwise
setlocale(0, "");
XInitThreads();
Display = XOpenDisplay(IntPtr.Zero);

Loading…
Cancel
Save