Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed whitespace
  • Loading branch information
slouken committed Mar 1, 2020
1 parent 8a6f1aa commit 51e9e98
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/video/cocoa/SDL_cocoawindow.m
Expand Up @@ -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;
Expand All @@ -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;
}}
Expand Down

0 comments on commit 51e9e98

Please sign in to comment.