View Single Post
Old 27 September 2012, 23:59   #6
FrodeSolheim
FS-UAE Developer
 
FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
Quote:
Originally Posted by waal View Post
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 ) {
FrodeSolheim is offline  
 
Page generated in 0.04437 seconds with 11 queries