소스 검색

Don't report release events for mouse wheel

Signed-off-by: Christoph Lohmann <20h@r-36.net>
Balazs Kezes 10 년 전
부모
커밋
ba36d1394b
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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;
 		}
 	}