diff options
-rw-r--r-- | platform/x11/win_main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/platform/x11/win_main.c b/platform/x11/win_main.c index 3725051f..9afd2d06 100644 --- a/platform/x11/win_main.c +++ b/platform/x11/win_main.c @@ -1167,13 +1167,13 @@ viewproc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) case WM_MOUSEWHEEL: if ((signed short)HIWORD(wParam) <= 0) { - handlemouse(oldx, oldy, 4, 1); - handlemouse(oldx, oldy, 4, -1); + handlemouse(oldx, oldy, 5, 1); + handlemouse(oldx, oldy, 5, -1); } else { - handlemouse(oldx, oldy, 5, 1); - handlemouse(oldx, oldy, 5, -1); + handlemouse(oldx, oldy, 4, 1); + handlemouse(oldx, oldy, 4, -1); } return 0; |