[FIXED] Display.isActive returning false on Windows

Started by jouvieje, October 30, 2013, 09:50:03

Previous topic - Next topic

jouvieje

I currently upgrading lwjgl from 2.9.0 #53 (17 april) to lwjgl 2.9.1 #98 (latest build) and have the follwoing issue:

Display.isActive is always returning false even if the window is active. The active state will never change until one of the workaround below is done (after that the active state is ok):
- minimize and maximize again
- switch to another window and go back
- resize windows

I use Display.setParent to embed it on a Canvas. This issue is always repoductible with my code on Windows 7 x64, but was working fine with 2.9.0 #53.

There seem to be similar/related old bugs (already fixed) on linux/mac, but on windows I can reproduce it with recent lwjgl build:
http://lwjgl.org/forum/index.php/topic,4301.0.html
http://lwjgl.org/forum/index.php/topic,4029.0.html

Is it a possible bug in lwjgl or is there something changed on the way I should init the Display ?

spasi


jouvieje

Awesome, thanks for the quick fix :)
Tested ok with #99.