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
@ -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 New Issue
Block a user