aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md
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 /CHANGELOG.md
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 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 02cab39e..fc372e5e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -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