tdevdraw: OS X mouse scroll fix (Jeff Sickel) - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit a1b61b4635adf4e070fdf91e3a512d94195214cd
(DIR) parent 81a90f898bf58852ca414ae612751e6cff06566c
(HTM) Author: Russ Cox <rsc@swtch.com>
Date: Wed, 2 Jul 2008 12:49:08 -0400
devdraw: OS X mouse scroll fix (Jeff Sickel)
Diffstat:
M src/cmd/devdraw/osx-screen.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/src/cmd/devdraw/osx-screen.c b/src/cmd/devdraw/osx-screen.c
t@@ -342,7 +342,7 @@ mouseevent(EventRef event)
return eventNotHandledErr;
}
- mousetrack(osx.xy.x, osx.xy.y, osx.buttons|osx.kbuttons, msec());
+ mousetrack(osx.xy.x, osx.xy.y, osx.buttons|osx.kbuttons|wheel, msec());
return noErr;
}