diff options
-rw-r--r-- | alacritty/src/display/window.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/alacritty/src/display/window.rs b/alacritty/src/display/window.rs index 14df091d..f36d05e9 100644 --- a/alacritty/src/display/window.rs +++ b/alacritty/src/display/window.rs @@ -410,7 +410,10 @@ impl Window { } pub fn set_ime_allowed(&self, allowed: bool) { - self.window.set_ime_allowed(allowed); + // Skip runtime IME manipulation on X11 since it breaks some IMEs. + if !self.is_x11 { + self.window.set_ime_allowed(allowed); + } } /// Adjust the IME editor position according to the new location of the cursor. |