From: Balazs Kezes <rlblaster@gmail.com>
Date: Sat, 31 May 2014 21:24:58 +0000 (+0100)
Subject: Don't report release events for mouse wheel
X-Git-Url: https://git.owens.tech///git?a=commitdiff_plain;h=ba36d1394b3add5b9d4c174f1443cc312bcc7e09;p=st.git

Don't report release events for mouse wheel

Signed-off-by: Christoph Lohmann <20h@r-36.net>
---

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;
 		}
 	}