aboutsummaryrefslogtreecommitdiff
path: root/render.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-11-03 18:44:51 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-11-06 19:09:16 +0000
commitc512dc4490b552c535636563db28b74b258ec0fc (patch)
tree7e2b34d72e15d895674b3659c7aa9f07c44b1a73 /render.c
parenttiocswinsz: fix compilation error on e.g. ppc64 (diff)
input: don’t use seat->kbd_focus as terminal when processing a key press
When converting mouse scroll events to keyboard input (in alternate scroll mode), we need to use seat->mouse_focus, not seat->kbd_focus. To enable this, break out key press/release handling code to a separate function that takes an explicit term argument. Call this function from keyboard_key(), input_repeat() and in alternate scroll mode. Closes #179
Diffstat (limited to 'render.c')
0 files changed, 0 insertions, 0 deletions