<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Problem with Mac OS X and ALLEGRO_FULLSCREEN_WINDOW</title>
		<link>http://www.allegro.cc/forums/view/607641</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Sat, 18 Jun 2011 07:01:10 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Just noticed that using the <span class="source-code">ALLEGRO_FULLSCREEN_WINDOW</span> flag just causes a regular window to be created under Mac OS X. <span class="source-code"><a href="http://www.allegro.cc/manual/al_toggle_display_flag"><span class="a">al_toggle_display_flag</span></a><span class="k2">(</span>ALLEGRO_FULLSCREEN_WINDOW<span class="k2">)</span></span> returns false, suggesting that it is not supported.</p><p>If it is not supported it might be a good idea to mention it in the manual. When I create a display with the <span class="source-code">ALLEGRO_FULLSCREEN_WINDOW</span> flag I can&#39;t tell if the created display is actually fullscreen or just a regular window.</p><p>Perhaps <span class="source-code"><a href="http://www.allegro.cc/manual/al_create_display"><span class="a">al_create_display</span></a><span class="k2">(</span><span class="k2">)</span></span> should fail if that flag is set and it is not supported. That way I can at least fall back to using a regular fullscreen mode.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Todd Cope)</author>
		<pubDate>Sat, 18 Jun 2011 03:30:41 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>What version of OSX? It works here.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Trent Gamblin)</author>
		<pubDate>Sat, 18 Jun 2011 04:00:20 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>10.6.7
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Todd Cope)</author>
		<pubDate>Sat, 18 Jun 2011 04:03:12 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hm.. maybe allegro.log would be helpful. I tried it again just now with latest svn and it&#39;s still working here.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Trent Gamblin)</author>
		<pubDate>Sat, 18 Jun 2011 05:42:33 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/607641/921929#target">Trent Gamblin</a> said:</div><div class="quote"><p>What version of OSX? It works here.</p></div></div><p>
I think there&#39;s a compile-time check for the Mac OS X deployment target (whatever the name of that define is) for whether it&#39;s possible to use or not (it&#39;s not available on OS X &lt; 10.6.0, I think). If it&#39;s compiled for use with an earlier version, then it will fail to create a fullscreen window.<br />A proper solution is to do the version check at runtime.</p><p>@TC: check the compatibility version number that you set when you compiled Allegro.<br />Yes, it probably should fail gracefully instead of quietly - however, I&#39;m not sure what happens on other platforms in this case. Would need to double check there.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Evert)</author>
		<pubDate>Sat, 18 Jun 2011 06:32:10 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>My target is 10.5.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Todd Cope)</author>
		<pubDate>Sat, 18 Jun 2011 06:43:50 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>For it to work it will have to be a run time check in Allegro, and a fallback for &lt; OSX 10.6.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Trent Gamblin)</author>
		<pubDate>Sat, 18 Jun 2011 06:44:52 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/607641/921939#target">Trent Gamblin</a> said:</div><div class="quote"><p>For it to work it will have to be a run time check in Allegro, and a fallback for &lt; OSX 10.6.</p></div></div><p>
May not be so easy.<br />I <i>think</i> you can make a frameless window that is the size of the desktop and stack it on top of the dock and the menu. I don&#39;t remember what the issues with that are though, it&#39;s been a while since I looked at it. There are code examples out there that show how though.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Evert)</author>
		<pubDate>Sat, 18 Jun 2011 06:48:59 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>That would be good, but I was not even thinking of that. I was thinking of using a regular fullscreen display when fs window isn&#39;t available. Is there any practical difference though, assuming someone rigged Allegro to pop in and out of fullscreen mode with the toggle? I know on OSX even fullscreen window behaves worse than fullscreen on other platforms, with Command-Tab and virtually ever way to get out of fullscreen mode not working. I played with that a while back, as there are some options there that supposedly allow command tab etc, but enabling them didn&#39;t seem to work (probably my mistake.)
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Trent Gamblin)</author>
		<pubDate>Sat, 18 Jun 2011 07:01:10 +0000</pubDate>
	</item>
</rss>
