Skip to content
Permalink
Browse files

Fixed whitespace

  • Loading branch information
slouken committed Mar 1, 2020
1 parent 8a6f1aa commit 51e9e98451c5d842ff15f4d638de7b6ddb4fd1fa
Showing with 5 additions and 5 deletions.
  1. +5 −5 src/video/cocoa/SDL_cocoawindow.m
@@ -2030,11 +2030,11 @@ - (BOOL)acceptsFirstMouse:(NSEvent *)theEvent
SDL_bool succeeded = SDL_FALSE;
SDL_WindowData *data = (SDL_WindowData *) window->driverdata;

if (data->inWindowFullscreenTransition) {
return SDL_FALSE;
}
if (data->inWindowFullscreenTransition) {
return SDL_FALSE;
}

data->inWindowFullscreenTransition = SDL_TRUE;
data->inWindowFullscreenTransition = SDL_TRUE;
if ([data->listener setFullscreenSpace:(state ? YES : NO)]) {
const int maxattempts = 3;
int attempt = 0;
@@ -2061,7 +2061,7 @@ take effect properly (e.g. setting the window size, etc.)
/* Return TRUE to prevent non-space fullscreen logic from running */
succeeded = SDL_TRUE;
}
data->inWindowFullscreenTransition = SDL_FALSE;
data->inWindowFullscreenTransition = SDL_FALSE;

return succeeded;
}}

0 comments on commit 51e9e98

Please sign in to comment.