[PATCH] Don't report release events for mouse wheel

From: Balazs Kezes <rlblaster_AT_gmail.com>
Date: Sat, 31 May 2014 22:24:58 +0100

---
 st.c | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/st.c b/st.c
index 506be0f..94fe725 100644
--- a/st.c
+++ b/st.c
_AT_@ -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;
 		}
 	}
 
-- 
1.9.1.423.g4596e3a
--hQiwHBbRI9kgIhsi--
Received on Mon Sep 17 2001 - 00:00:00 CEST

This archive was generated by hypermail 2.3.0 : Sun Jun 01 2014 - 00:12:03 CEST