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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
3 deletions
-
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); |
|
|
|
|