Browse Source

Merge pull request #10950 from AvaloniaUI/fixes/x11-compose-key

Fix compose key handling when IME is not enabled
pull/10974/head
Max Katz 3 years ago
committed by GitHub
parent
commit
15cb8d8944
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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