diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-11-03 18:44:51 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-11-03 18:44:51 +0000 |
| commit | 9209adf6faa1222d9a60b63e69eadd04820976db (patch) | |
| tree | 15c125c28a9063ce91e90b865d60116785c37f34 /render.c | |
| parent | search: add {clipboard,primary}-paste key bindings (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
