[FIXED] Aero Snap on Windows

Started by Tehyoda, July 31, 2013, 17:55:33

Previous topic - Next topic

Tehyoda

When you use the Aero Snap feature on Windows Vista+, change window focus, and then change back.
Either by means of Alt-Tab or clicking on it, the window will un-aerosnap and revert to the position it was at before being aerosnapped.

This code was enough to reproduce the problem:
public class TestAeroSnap
{
	public void start()
	{
		try {
			Display.setResizable(true);
			Display.setDisplayMode(new DisplayMode(800, 600));
			Display.create();
		} catch (LWJGLException e) {
			e.printStackTrace();
			System.exit(0);
		}
		
		while (!Display.isCloseRequested())
		{
			Display.update();
		}
		
		Display.destroy();
	}
	
	public static void main(String[] argv)
	{
		TestAeroSnap test = new TestAeroSnap();
		test.start();
	}
}

spasi

This problem should be fixed with the next build.