Re: [fullscreen] Problems with mouse-edge scrolling and games

On Mon, Feb 24, 2014 at 7:07 PM, Vincent Scheib <scheib@google.com> wrote:

> Windows has ClipCursor() and Linux has XGrabPointer(). Once we know we can
> implement the functionality, we can discuss how to express this in an API.
>

Would using Quarz CGWarpMouseCursorPosition work where you'd clamp the
passed position into the desired rectangle?

https://developer.apple.com/library/mac/documentation/GraphicsImaging/Reference/Quartz_Services_Ref/Reference/reference.html#//apple_ref/c/func/CGWarpMouseCursorPosition

Received on Monday, 24 February 2014 18:37:32 UTC