LWJGL Forum

Archive => Resolved Bugs/RFE => Topic started by: Tehyoda on July 31, 2013, 17:55:33

Title: [FIXED] Aero Snap on Windows
Post by: Tehyoda on July 31, 2013, 17:55:33
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:
Code: [Select]
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();
}
}
Title: Re: [BUG] Aero Snap on Windows
Post by: spasi on October 30, 2013, 13:38:06
This problem should be fixed with the next build.