LWJGL Forum

Archive => Resolved Bugs/RFE => Topic started by: jouvieje on October 30, 2013, 09:50:03

Title: [FIXED] Display.isActive returning false on Windows
Post by: jouvieje on October 30, 2013, 09:50:03
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 ?
Title: Re: [BUG] Display.isActive returning false on Windows
Post by: spasi on October 30, 2013, 14:27:54
This should be fixed in the next build (https://github.com/LWJGL/lwjgl/commit/59a9a970b9e52c3f6b354c65dce078df38753c92).
Title: Re: [FIXED] Display.isActive returning false on Windows
Post by: jouvieje on October 31, 2013, 14:19:39
Awesome, thanks for the quick fix :)
Tested ok with #99.