File mouseemu.mod-passthrough.patch of Package mouseemu
#! /bin/sh /usr/share/dpatch/dpatch-run
## 11_mod-passthrough.dpatch by <gaudenz@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Pass through key events of modifier keys
@DPATCH@
---
mouseemu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/mouseemu.c
+++ b/mouseemu.c
@@ -174,7 +174,7 @@ void keyboard_handler (int fd)
/* I think its best not to pass scroll, or experiment with not passing the release if
* we actually used it for scrolling (but some apps may get stuck?)
*/
- if (inp.code != b2_key && inp.code != b3_key && !b2_mod_pressed && !b3_mod_pressed) {
+ if (inp.code != b2_key && inp.code != b3_key) {
passthrough(ui_keyb_fd, inp);
}
}