mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-03 01:40:17 -05:00
term: rename term_focus_{in,out} -> term_kbd_focus_{in,out}
This commit is contained in:
parent
90a1d920bb
commit
e9325b958f
3 changed files with 6 additions and 6 deletions
4
input.c
4
input.c
|
|
@ -90,7 +90,7 @@ keyboard_enter(void *data, struct wl_keyboard *wl_keyboard, uint32_t serial,
|
|||
wayl->kbd_focus = wayl_terminal_from_surface(wayl, surface);
|
||||
assert(wayl->kbd_focus != NULL);
|
||||
|
||||
term_focus_in(wayl->kbd_focus);
|
||||
term_kbd_focus_in(wayl->kbd_focus);
|
||||
term_xcursor_update(wayl->kbd_focus);
|
||||
}
|
||||
|
||||
|
|
@ -157,7 +157,7 @@ keyboard_leave(void *data, struct wl_keyboard *wl_keyboard, uint32_t serial,
|
|||
* keyboard_leave() (and keyboard_key()) without first having
|
||||
* received a keyboard_enter()
|
||||
*/
|
||||
term_focus_out(old_focused);
|
||||
term_kbd_focus_out(old_focused);
|
||||
term_xcursor_update(old_focused);
|
||||
} else {
|
||||
LOG_WARN(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue