mirror of
https://github.com/yawut/SDL.git
synced 2026-10-02 13:16:43 -05:00
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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user