diff options
-rw-r--r-- | platform/x11/win_main.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/platform/x11/win_main.c b/platform/x11/win_main.c index 444e8d67..df29e022 100644 --- a/platform/x11/win_main.c +++ b/platform/x11/win_main.c @@ -1099,11 +1099,15 @@ viewproc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) case WM_MOUSEWHEEL: if ((signed short)HIWORD(wParam) > 0) + { handlemouse(oldx, oldy, 4, 1); - //handlekey(LOWORD(wParam) & MK_SHIFT ? '+' : 'k'); + handlemouse(oldx, oldy, 4, -1); + } else + { handlemouse(oldx, oldy, 5, 1); - //handlekey(LOWORD(wParam) & MK_SHIFT ? '-' : 'j'); + handlemouse(oldx, oldy, 5, -1); + } return 0; /* Timer */ |