mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
input: don't change xcursor if active surface isn't the main grid
This commit is contained in:
parent
b268b69a7b
commit
6eae5ebd94
1 changed files with 1 additions and 1 deletions
2
input.c
2
input.c
|
|
@ -585,7 +585,7 @@ keyboard_modifiers(void *data, struct wl_keyboard *wl_keyboard, uint32_t serial,
|
|||
wayl->kbd.meta = xkb_state_mod_index_is_active(
|
||||
wayl->kbd.xkb_state, wayl->kbd.mod_meta, XKB_STATE_MODS_DEPRESSED);
|
||||
|
||||
if (wayl->kbd_focus)
|
||||
if (wayl->kbd_focus && wayl->kbd_focus->active_surface == TERM_SURF_GRID)
|
||||
term_xcursor_update(wayl->kbd_focus);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue