Request redraws on InputMethod events

This commit is contained in:
Héctor Ramón Jiménez 2025-02-03 16:55:10 +01:00
parent 76c25d2fb2
commit e8c680ce66
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
2 changed files with 9 additions and 1 deletions

View file

@ -754,6 +754,8 @@ where
Ime::Toggle(is_open) => {
state.preedit =
is_open.then(input_method::Preedit::new);
shell.request_redraw();
}
Ime::Preedit { content, selection } => {
if state.focus.is_some() {
@ -761,6 +763,8 @@ where
content,
selection,
});
shell.request_redraw();
}
}
Ime::Commit(text) => {