aboutsummaryrefslogtreecommitdiff
path: root/client.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-03 18:44:51 +0000
commit9209adf6faa1222d9a60b63e69eadd04820976db (patch)
tree15c125c28a9063ce91e90b865d60116785c37f34 /client.c
parentsearch: 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 'client.c')
0 files changed, 0 insertions, 0 deletions