From f14fd4d671c666432eaad52a26cab62a62e476ee Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 18 Jul 2011 20:32:40 -0700 Subject: [PATCH] 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 --- src/video/quartz/SDL_QuartzVideo.m | 1 - 1 file changed, 1 deletion(-) diff --git a/src/video/quartz/SDL_QuartzVideo.m b/src/video/quartz/SDL_QuartzVideo.m index c51019350..17d780401 100644 --- a/src/video/quartz/SDL_QuartzVideo.m +++ b/src/video/quartz/SDL_QuartzVideo.m @@ -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 */