tDon't report release events for mouse wheel - st - [fork] customized build of … | |
git clone git://src.adamsgaard.dk/st | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit ba36d1394b3add5b9d4c174f1443cc312bcc7e09 | |
parent ede83bd08b922f2f53264876f6500b564d3c5ef0 | |
Author: Balazs Kezes <[email protected]> | |
Date: Sat, 31 May 2014 22:24:58 +0100 | |
Don't report release events for mouse wheel | |
Signed-off-by: Christoph Lohmann <[email protected]> | |
Diffstat: | |
M st.c | 2 ++ | |
1 file changed, 2 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/st.c b/st.c | |
t@@ -829,6 +829,8 @@ mousereport(XEvent *e) { | |
/* MODE_MOUSEX10: no button release reporting */ | |
if(IS_SET(MODE_MOUSEX10)) | |
return; | |
+ if (button == 64 || button == 65) | |
+ return; | |
} | |
} | |