diff options
| author | CismonX <admin@cismon.net> | 2026-10-05 07:52:06 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2026-10-25 10:48:42 +0000 |
| commit | 5c8d52080750b81752595ac8f00fbacece17978b (patch) | |
| tree | a0663c16cd83388bb192cbdb23d13c42d4652a60 | |
| parent | selection: fix row comparison in selection update (diff) | |
ime: reset view and cancel selection on input
The text input area should be visible when using input methods.
This also keeps the behavior consistent with the wl_keyboard.key
event handler.
| -rw-r--r-- | ime.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -12,6 +12,7 @@ #include "char32.h" #include "render.h" #include "search.h" +#include "selection.h" #include "terminal.h" #include "util.h" #include "wayland.h" @@ -185,8 +186,11 @@ done(void *data, struct zwp_text_input_v3 *zwp_text_input_v3, if (term != NULL) { if (term->is_searching) render_refresh_search(term); - else + else { + term_reset_view(term); + selection_cancel(term); render_refresh(term); + } } } |
