mirror of
https://github.com/alacritty/alacritty
synced 2024-10-04 14:59:26 +00:00
parent
90ec158a94
commit
caf8c7fc7f
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue