Don't report release events for mouse wheel

Signed-off-by: Christoph Lohmann <20h@r-36.net>
This commit is contained in:
Balazs Kezes authored and Christoph Lohmann committed 2014-06-01 15:57:03 +02:00
1 parent ede83bd08b
commit ba36d1394b
1 file changed
+2
+2
View File
@@ -829,6 +829,8 @@ mousereport(XEvent *e) {
/* MODE_MOUSEX10: no button release reporting */ /* MODE_MOUSEX10: no button release reporting */
if(IS_SET(MODE_MOUSEX10)) if(IS_SET(MODE_MOUSEX10))
return; return;
if (button == 64 || button == 65)
return;
} }
} }