<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Mouse limits do not change when resizing (Windows,AL5 SVN)</title>
		<link>http://www.allegro.cc/forums/view/603082</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Thu, 11 Feb 2010 17:31:12 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>If I set the initial display to 640x480, then resize, the mouse will only be trackable in the first 640x480 region. I tested this by setting the initial display to 1280x800, then my mouse limits expanded.</p><p>Thanks
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (jmasterx)</author>
		<pubDate>Sun, 07 Feb 2010 20:38:39 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I can confirm this in Wine. It works fine under Linux though so the problem must be in the Windows mouse driver. I filed a bug report: <a href="https://sourceforge.net/tracker/?func=detail&amp;aid=2947403&amp;group_id=5665&amp;atid=105665">https://sourceforge.net/tracker/?func=detail&amp;aid=2947403&amp;group_id=5665&amp;atid=105665</a>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Elias)</author>
		<pubDate>Sun, 07 Feb 2010 20:57:39 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>It&#39;s fixed in SVN now.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Trent Gamblin)</author>
		<pubDate>Sun, 07 Feb 2010 21:18:44 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>The fix doesn&#39;t seem right. I haven&#39;t investigated it fully, but:</p><p>In the WM_ACTIVATE case we call d-&gt;vt-&gt;switch_in(d), which leads to wgl_switch_in, which calls al_set_mouse_range(), which calls new_mouse_driver-&gt;set_mouse_range(), which calls wmouse.c:set_mouse_range which calls al_get_current_display().  But of course we&#39;re still in the middle of handling WM_ACTIVATE.</p><p>Also, why would wgl_switch_in need to call al_set_mouse_range but not d3d_switch_in?</p><p>EDIT: PS. I am delaying 4.9.17 for this.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Peter Wang)</author>
		<pubDate>Thu, 11 Feb 2010 17:21:31 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I think that set_mouse_range call is a remnant of the old directinput mouse driver. It doesn&#39;t seem to be needed so I commented it out.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Trent Gamblin)</author>
		<pubDate>Thu, 11 Feb 2010 17:31:12 +0000</pubDate>
	</item>
</rss>
