mirror of
https://github.com/alacritty/alacritty.git
synced 2026-12-03 10:00:08 +03:00
1 parent
476bebdadc
commit
c75cda36f2
1 file changed
+4
-1
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user