LWJGL Forum

Archive => Resolved Bugs/RFE => Topic started by: marqx on November 16, 2011, 10:13:22

Title: [FIXED] Mouse input broken in 2.8.2 with Display.setParent() on Linux
Post by: marqx on November 16, 2011, 10:13:22
On my 64bit Ubuntu, mouse input is broken in 2.8.2 when Display.setParent() is set. I have verified that the problem does not exist in 2.8.1.
Title: Re: [BUG] Mouse input broken in 2.8.2 with Display.setParent() on Linux
Post by: kappa on November 16, 2011, 10:24:21
care to elaborate a bit more? Mouse.getX() and Mouse.getY() not returning the correct value? and/or button clicks not working? or something else? Does it happen immediately on window creation or only after loosing focus and gaining it again?
Title: Re: [BUG] Mouse input broken in 2.8.2 with Display.setParent() on Linux
Post by: marqx on November 16, 2011, 11:48:45
After some further debugging I realized that the broken input was a symptom of a different change in behaviour and not an error in itself. As of 2.8.2, Display.isActive() seems to always return false when Display.setParent() is set. Whether or not this is intented behaviour or not is of course a matter of design but it is different from earlier releases. Mouse input in itself seems to work according to specification. Sorry for the confusion!
Title: Re: [BUG] Mouse input broken in 2.8.2 with Display.setParent() on Linux
Post by: princec on November 16, 2011, 12:57:30
Undocumented changes in behaviour are still bugs :)

Cas :)
Title: Re: [BUG] Mouse input broken in 2.8.2 with Display.setParent() on Linux
Post by: kappa on November 16, 2011, 13:34:51
ah, I see the issue now, will fix tonight.
Title: Re: [BUG] Mouse input broken in 2.8.2 with Display.setParent() on Linux
Post by: marqx on November 18, 2011, 16:23:25
Excellent! Thank you for the quick response!
Title: Re: [BUG] Mouse input broken in 2.8.2 with Display.setParent() on Linux
Post by: kappa on November 18, 2011, 16:26:01
Turns out that the issue was a little more complicated than initially expected. Will hopefully have another look on the weekend.
Title: Re: [BUG] Mouse input broken in 2.8.2 with Display.setParent() on Linux
Post by: kappa on January 22, 2012, 18:07:03
This should be fixed now and part of the next nightly build (after build #1522).