Add API to support mouse pointer clipping

NEW
Unassigned

Status

()

defect
7 years ago
7 years ago

People

(Reporter: humph, Unassigned)

Tracking

Trunk
x86
macOS
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
For the pointer lock work, one of the things we're going to need (especially when we do non-fullscreen locking) is the ability to force the pointer to stay within a given rectangle (see bug 633602).  See:

* ClipCursor on Windows http://msdn.microsoft.com/en-us/library/windows/desktop/ms648383%28v=vs.85%29.aspx

* CGAssociateMouseAndMouseCursorPosition on OS X http://developer.apple.com/library/mac/#documentation/GraphicsImaging/Reference/Quartz_Services_Ref/Reference/reference.html

* XGrabPointer on Linux http://www.x.org/archive/X11R6.8.2/doc/XGrabPointer.3.html
(Reporter)

Updated

7 years ago
Blocks: 737100
You need to log in before you can comment on or make changes to this bug.