Re: [AD] SF.net SVN: alleg:[15705] allegro/branches/5.1/src/macosx/osxgl.m |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Mon, 11 Jun 2012 22:15:19 +0200
Evert Glebbeek <eglebbk@xxxxxxxxxx> wrote:
> > On OSX 10.7 and up all Windows have a fullscreen icon - enable that
> > for all resizable Allegro Windows. We probably could remove all
> > other OSX fullscreen code now (it never seemed to work for me).
>
> No problems with fullscreen modes on OS X here. What's not working
> for you?
Both FS and FSwin seem to make a window with a size of 1x1 which I have
to foce-close. I didn't investigate much though.
>
> > + if (dpy->parent.flags & ALLEGRO_RESIZABLE) {
> > +#ifdef MAC_OS_X_VERSION_10_7
> > + [win
> > setCollectionBehavior:NSWindowCollectionBehaviorFullScreenPrimary];
> > +#endif
> > + }
>
> Probably want to do the check at runtime, otherwise code compiled on
> earlier versions of OS X won't work as expected on Lion.
>
I have no idea how to do runtime checks in OSX.