Project: SWT
Bug 157292 MouseWheel event provides wrong coordinates in case of negative x coordinate (event outside widget)
Reported: 2006-09-14 06:41:28 | Status: resolved fixed

FIX LRESULT org.eclipse.swt.widgets.Widget#wmMouseWheel (int hwnd, int wParam, int lParam) LINE 1975 BUG CODE: lParam = pt.x | (pt.y << 16); FIXED CODE: lParam = ((int)pt.x & 0xFFFF) | ((int)pt.y << 16);

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Widget.java