Track pre-edits separately from focus in text inputs

This commit is contained in:
Héctor Ramón Jiménez 2025-02-03 00:51:57 +01:00
parent db990b77e4
commit d28af5739b
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
3 changed files with 17 additions and 23 deletions

View file

@ -205,9 +205,11 @@ where
pub fn request_input_method(&mut self, input_method: InputMethod) {
match input_method {
InputMethod::None => {}
InputMethod::Disabled => self.raw.set_ime_allowed(false),
InputMethod::Disabled => {
self.raw.set_ime_allowed(false);
}
InputMethod::Allowed | InputMethod::Open { .. } => {
self.raw.set_ime_allowed(true)
self.raw.set_ime_allowed(true);
}
}