Hello Guest

[FIXED] Display.isActive returning false on Windows

  • 2 Replies
  • 8247 Views
[FIXED] Display.isActive returning false on Windows
« 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 ?
« Last Edit: October 30, 2013, 15:36:34 by kappa »

*

Offline spasi

  • *****
  • 2261
    • WebHotelier
Re: [BUG] Display.isActive returning false on Windows
« Reply #1 on: October 30, 2013, 14:27:54 »
This should be fixed in the next build.

Re: [FIXED] Display.isActive returning false on Windows
« Reply #2 on: October 31, 2013, 14:19:39 »
Awesome, thanks for the quick fix :)
Tested ok with #99.