diff --git a/OSBindings/Mac/Clock Signal/Views/CSOpenGLView.m b/OSBindings/Mac/Clock Signal/Views/CSOpenGLView.m index 993deb3ff..4e3685ca1 100644 --- a/OSBindings/Mac/Clock Signal/Views/CSOpenGLView.m +++ b/OSBindings/Mac/Clock Signal/Views/CSOpenGLView.m @@ -276,10 +276,12 @@ static CVReturn DisplayLinkCallback(CVDisplayLinkRef displayLink, const CVTimeSt #pragma mark - Mouse buttons - (void)applyButtonDown:(NSEvent *)event { - if(self.shouldCaptureMouse && !_mouseIsCaptured) { - _mouseIsCaptured = YES; - [NSCursor hide]; - CGAssociateMouseAndMouseCursorPosition(false); + if(self.shouldCaptureMouse) { + if(!_mouseIsCaptured) { + _mouseIsCaptured = YES; + [NSCursor hide]; + CGAssociateMouseAndMouseCursorPosition(false); + } [self.responderDelegate mouseDown:event]; }