diff options
author | Balazs Kezes <rlblaster@gmail.com> | 2014-05-31 22:24:58 +0100 |
---|---|---|
committer | Christoph Lohmann <20h@r-36.net> | 2014-06-01 15:57:03 +0200 |
commit | ba36d1394b3add5b9d4c174f1443cc312bcc7e09 (patch) | |
tree | 85264ab3c7c376dd6cb6da2709e329ae5aac606a /st.c | |
parent | ede83bd08b922f2f53264876f6500b564d3c5ef0 (diff) | |
download | st-ba36d1394b3add5b9d4c174f1443cc312bcc7e09.tar.gz |
Don't report release events for mouse wheel
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Diffstat (limited to 'st.c')
-rw-r--r-- | st.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; } } |