spelling: suppression
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
parent
1ccc2ea9bf
commit
1466976a36
|
@ -58,7 +58,7 @@ enum {
|
||||||
|
|
||||||
// TODO: upgrade deprecated function usage in these functions.
|
// TODO: upgrade deprecated function usage in these functions.
|
||||||
void setZeroSuppressionInterval();
|
void setZeroSuppressionInterval();
|
||||||
void avoidSupression();
|
void avoidSuppression();
|
||||||
void logCursorVisibility();
|
void logCursorVisibility();
|
||||||
void avoidHesitatingCursor();
|
void avoidHesitatingCursor();
|
||||||
|
|
||||||
|
@ -848,7 +848,7 @@ OSXScreen::enter()
|
||||||
IOObjectRelease(entry);
|
IOObjectRelease(entry);
|
||||||
}
|
}
|
||||||
|
|
||||||
avoidSupression();
|
avoidSuppression();
|
||||||
}
|
}
|
||||||
|
|
||||||
// now on screen
|
// now on screen
|
||||||
|
@ -2124,17 +2124,17 @@ setZeroSuppressionInterval()
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
avoidSupression()
|
avoidSuppression()
|
||||||
{
|
{
|
||||||
// avoid suppression of local hardware events
|
// avoid suppression of local hardware events
|
||||||
// stkamp@users.sourceforge.net
|
// stkamp@users.sourceforge.net
|
||||||
CGSetLocalEventsFilterDuringSupressionState(
|
CGSetLocalEventsFilterDuringSuppressionState(
|
||||||
kCGEventFilterMaskPermitAllEvents,
|
kCGEventFilterMaskPermitAllEvents,
|
||||||
kCGEventSupressionStateSupressionInterval);
|
kCGEventSuppressionStateSuppressionInterval);
|
||||||
CGSetLocalEventsFilterDuringSupressionState(
|
CGSetLocalEventsFilterDuringSuppressionState(
|
||||||
(kCGEventFilterMaskPermitLocalKeyboardEvents |
|
(kCGEventFilterMaskPermitLocalKeyboardEvents |
|
||||||
kCGEventFilterMaskPermitSystemDefinedEvents),
|
kCGEventFilterMaskPermitSystemDefinedEvents),
|
||||||
kCGEventSupressionStateRemoteMouseDrag);
|
kCGEventSuppressionStateRemoteMouseDrag);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in New Issue