From 1466976a3663bec209584f2dbd9fa352eb08d1ba Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 5 May 2022 21:33:35 -0400 Subject: [PATCH] spelling: suppression Signed-off-by: Josh Soref --- src/lib/platform/OSXScreen.mm | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/lib/platform/OSXScreen.mm b/src/lib/platform/OSXScreen.mm index b7a0b0b9..d5d99943 100644 --- a/src/lib/platform/OSXScreen.mm +++ b/src/lib/platform/OSXScreen.mm @@ -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