Fixed inconsistency between doc and impl on OS X for the grab feature
Patch for #1133 and #1148.
This commit is contained in:
parent
9996b7abb6
commit
550fb2b60a
@ -230,7 +230,7 @@
|
||||
////////////////////////////////////////////////////////
|
||||
-(BOOL)isCursorCurrentlyGrabbed
|
||||
{
|
||||
return [[self window] isKeyWindow] && (m_cursorGrabbed || m_fullscreen);
|
||||
return [[self window] isKeyWindow] && m_cursorGrabbed;
|
||||
}
|
||||
|
||||
|
||||
|
@ -70,8 +70,7 @@
|
||||
/// \brief Check whether the cursor is grabbed or not
|
||||
///
|
||||
/// The cursor is grabbed if the window is active (key) and
|
||||
/// either it is in fullscreen mode or the user wants to
|
||||
/// grab it.
|
||||
/// the user wants to grab it.
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
-(BOOL)isCursorCurrentlyGrabbed;
|
||||
|
Loading…
Reference in New Issue
Block a user