diff options
| author | Balazs Kezes <rlblaster@gmail.com> | 2014-05-31 22:24:58 +0100 |
|---|---|---|
| committer | Christoph Lohmann <20h@r-36.net> | 2014-06-01 15:57:03 +0200 |
| commit | ba36d1394b3add5b9d4c174f1443cc312bcc7e09 (patch) | |
| tree | 85264ab3c7c376dd6cb6da2709e329ae5aac606a | |
| parent | ede83bd08b922f2f53264876f6500b564d3c5ef0 (diff) | |
| download | st-ba36d1394b3add5b9d4c174f1443cc312bcc7e09.tar.gz st-ba36d1394b3add5b9d4c174f1443cc312bcc7e09.zip | |
Don't report release events for mouse wheel
Signed-off-by: Christoph Lohmann <20h@r-36.net>
| -rw-r--r-- | st.c | 2 |
1 files changed, 2 insertions, 0 deletions
| @@ -829,6 +829,8 @@ mousereport(XEvent *e) { | |||
| 829 | /* MODE_MOUSEX10: no button release reporting */ | 829 | /* MODE_MOUSEX10: no button release reporting */ |
| 830 | if(IS_SET(MODE_MOUSEX10)) | 830 | if(IS_SET(MODE_MOUSEX10)) |
| 831 | return; | 831 | return; |
| 832 | if (button == 64 || button == 65) | ||
| 833 | return; | ||
| 832 | } | 834 | } |
| 833 | } | 835 | } |
| 834 | 836 | ||
