mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-17 05:33:52 -04:00
ime: don’t pass ‘term’ to ime_update_cursor_rect()
In all instances where we call ime_update_cursor_rect(), the ‘term’ argument is the same as seat->kbd_focus. So, let ime_update_cursor_rect() use that directly instead. Also make ime_send_cursor_rect() static (i.e. local to ime.c).
This commit is contained in:
parent
1c355f7b7f
commit
13b45db13e
3 changed files with 12 additions and 10 deletions
3
ime.h
3
ime.h
|
|
@ -13,10 +13,9 @@ struct terminal;
|
|||
|
||||
void ime_enable(struct seat *seat);
|
||||
void ime_disable(struct seat *seat);
|
||||
void ime_update_cursor_rect(struct seat *seat, struct terminal *term);
|
||||
void ime_update_cursor_rect(struct seat *seat);
|
||||
|
||||
void ime_reset_pending_preedit(struct seat *seat);
|
||||
void ime_reset_pending_commit(struct seat *seat);
|
||||
void ime_reset_pending(struct seat *seat);
|
||||
void ime_reset_preedit(struct seat *seat);
|
||||
void ime_send_cursor_rect(struct seat *seat, struct terminal *term);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue