mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-01 07:15:32 -04:00
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
This commit is contained in:
parent
273f105af5
commit
c512dc4490
2 changed files with 27 additions and 15 deletions
|
|
@ -29,6 +29,8 @@
|
|||
* Compilation error _"overflow in conversion from long 'unsigned int'
|
||||
to 'int' changes value... "_ seen on platforms where the `request`
|
||||
argument in `ioctl(3)` is an `int` (for example: linux/ppc64).
|
||||
* Crash when using the mouse in alternate scroll mode in an unfocused
|
||||
window (https://codeberg.org/dnkl/foot/issues/179).
|
||||
|
||||
|
||||
## 1.5.2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue