Quartz: Don't use -[NSWindow center] on the fullscreen window.

"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.

--HG--
branch : SDL-1.2
This commit is contained in:
Ryan C. Gordon
2011-07-18 20:32:40 -07:00
parent 0e1946b0ed
commit f14fd4d671

View File

@@ -589,7 +589,6 @@ static SDL_Surface* QZ_SetVideoFullScreen (_THIS, SDL_Surface *current, int widt
[ 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 */