mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
devdraw: fix mouse(3) moveto on OS X
R=rsc CC=codebot http://codereview.appspot.com/224104
This commit is contained in:
parent
35625b3f1a
commit
d94cc62a01
1 changed files with 7 additions and 1 deletions
|
@ -422,7 +422,13 @@ _screeninit(void)
|
|||
|
||||
if(multitouch)
|
||||
InitMultiTouch();
|
||||
|
||||
|
||||
// CoreGraphics pins mouse events to the destination point of a
|
||||
// CGWarpMouseCursorPosition (see setmouse) for an interval of time
|
||||
// following the move. Disable this by setting the interval to zero
|
||||
// seconds.
|
||||
CGSetLocalEventsSuppressionInterval(0.0);
|
||||
|
||||
InitCursor();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue