Explorar el Código

Don't report release events for mouse wheel

Signed-off-by: Christoph Lohmann <20h@r-36.net>
Balazs Kezes hace 10 años
padre
commit
ba36d1394b
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      st.c

+ 2 - 0
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;
 		}
 	}