Browse Source

Fix compose key handling when IME is not enabled

pull/10950/head
Nikita Tsukanov 4 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; useXim = true;
} }
// XIM doesn't work at all otherwise // We have problems with text input otherwise
if (useXim) setlocale(0, "");
setlocale(0, "");
XInitThreads(); XInitThreads();
Display = XOpenDisplay(IntPtr.Zero); Display = XOpenDisplay(IntPtr.Zero);

Loading…
Cancel
Save