X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fxemacs-chise.git.1;a=blobdiff_plain;f=src%2Fevent-msw.c;h=1350d26f0317c9deee86990a1177d4073540289b;hp=fec746e5395db4879842b43741723124c8f8822c;hb=efdb31fd4c8db81d2414c32d491f1bf994263c74;hpb=75d621fb12f4d3bc3e2eecefac39fe62eecbd431 diff --git a/src/event-msw.c b/src/event-msw.c index fec746e..1350d26 100644 --- a/src/event-msw.c +++ b/src/event-msw.c @@ -2745,7 +2745,9 @@ mswindows_wnd_proc (HWND hwnd, UINT message_, WPARAM wParam, LPARAM lParam) int delta = (short) HIWORD (wParam); /* Wheel rotation amount */ struct gcpro gcpro1, gcpro2; - if (mswindows_handle_mousewheel_event (mswindows_find_frame (hwnd), keys, delta)) + if (mswindows_handle_mousewheel_event (mswindows_find_frame (hwnd), + keys, delta, + MAKEPOINTS (lParam))) { GCPRO2 (emacs_event, fobj); mswindows_pump_outstanding_events (); /* Can GC */