mirror of
https://github.com/LukeSmithxyz/st.git
synced 2024-11-25 08:25:47 +01:00
Don't report release events for mouse wheel
Signed-off-by: Christoph Lohmann <20h@r-36.net>
This commit is contained in:
parent
ede83bd08b
commit
ba36d1394b
1 changed files with 2 additions and 0 deletions
2
st.c
2
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue