spelling: suppression

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2022-05-05 21:33:35 -04:00
parent 1ccc2ea9bf
commit 1466976a36
1 changed files with 7 additions and 7 deletions

View File

@ -58,7 +58,7 @@ enum {
// TODO: upgrade deprecated function usage in these functions.
void setZeroSuppressionInterval();
void avoidSupression();
void avoidSuppression();
void logCursorVisibility();
void avoidHesitatingCursor();
@ -848,7 +848,7 @@ OSXScreen::enter()
IOObjectRelease(entry);
}
avoidSupression();
avoidSuppression();
}
// now on screen
@ -2124,17 +2124,17 @@ setZeroSuppressionInterval()
}
void
avoidSupression()
avoidSuppression()
{
// avoid suppression of local hardware events
// stkamp@users.sourceforge.net
CGSetLocalEventsFilterDuringSupressionState(
CGSetLocalEventsFilterDuringSuppressionState(
kCGEventFilterMaskPermitAllEvents,
kCGEventSupressionStateSupressionInterval);
CGSetLocalEventsFilterDuringSupressionState(
kCGEventSuppressionStateSuppressionInterval);
CGSetLocalEventsFilterDuringSuppressionState(
(kCGEventFilterMaskPermitLocalKeyboardEvents |
kCGEventFilterMaskPermitSystemDefinedEvents),
kCGEventSupressionStateRemoteMouseDrag);
kCGEventSuppressionStateRemoteMouseDrag);
}
void