aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBalazs Kezes <rlblaster@gmail.com>2014-05-31 22:24:58 +0100
committerChristoph Lohmann <20h@r-36.net>2014-06-01 15:57:03 +0200
commitba36d1394b3add5b9d4c174f1443cc312bcc7e09 (patch)
tree85264ab3c7c376dd6cb6da2709e329ae5aac606a
parentede83bd08b922f2f53264876f6500b564d3c5ef0 (diff)
downloadst-ba36d1394b3add5b9d4c174f1443cc312bcc7e09.tar.gz
st-ba36d1394b3add5b9d4c174f1443cc312bcc7e09.tar.bz2
Don't report release events for mouse wheel
Signed-off-by: Christoph Lohmann <20h@r-36.net>
-rw-r--r--st.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/st.c b/st.c
index f48dab4..79a4e0a 100644
--- a/st.c
+++ b/st.c
@@ -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;
}
}