Skip to content

Commit

Permalink
Quartz: Don't use -[NSWindow center] on the fullscreen window.
Browse files Browse the repository at this point in the history
"Centering" is a little off-center, vertically. Apparently in non-fullscreen
 apps, this is more aestetically pleasing or something.

Fixes positioning on fullscreen video modes on Mac OS X.
  • Loading branch information
icculus committed Jul 19, 2011
1 parent 493d001 commit c3c7371
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/video/quartz/SDL_QuartzVideo.m
Expand Up @@ -589,7 +589,6 @@ static void QZ_UnsetVideoMode (_THIS, BOOL to_desktop)

[ qz_window setHasShadow:NO];
[ qz_window setOpaque:YES];
[ qz_window center ];
[ qz_window makeKeyAndOrderFront:nil ];

/* If we don't hide menu bar, it will get events and interrupt the program */
Expand Down

0 comments on commit c3c7371

Please sign in to comment.