Quote:
Originally Posted by waal
I launched in windowed mode and yes, the fullscreen button appears and works. I get a new fullscreen but the dimensions are not adapted, I mean the screen isn't stretched.
|
OK, well it was worth a shot to check if this was enough. But it isn't practical for me to pursue this further at this time as I prefer to stick to 10.6 for now (patches are welcome if someone else fixes this, of course).
For reference, this was the patch against SDL:
Code:
--- a/src/video/quartz/SDL_QuartzVideo.m
+++ b/src/video/quartz/SDL_QuartzVideo.m
@@ -1059,6 +1059,12 @@ static SDL_Surface* QZ_SetVideoWindowed (_THIS, SDL_Surface *current, int width,
[ window_view setFrameSize:contentRect.size ];
}
+ NSWindowCollectionBehavior behavior = [ qz_window collectionBehavior ];
+ behavior |= (1 << 7);
+ [ qz_window setCollectionBehavior:behavior];
+
/* For OpenGL, we bind the context to a subview */
if ( flags & SDL_OPENGL ) {