Possible AwtMouseManager bug

A forum for discussing development work on the Ardor3D core systems. Basically, anything that is in the ardor3d-core module.
Forum rules
Developer discussions only. Newbie questions belong in the HELP! forum. This is a forum for discussing development work on the Ardor3D core systems. Basically, anything that is in the ardor3d-core module.

Possible AwtMouseManager bug

Postby thecookie » Fri Mar 12, 2010 3:12 am

Heya,

I've found a possible bug in the AwtMouseManager. I'm not sure if you'd consider it a bug tho. With the LwjglMouseManager, setting grabbed and then doing a setCursor, the cursor is still grabbed. Doing the same with the Awt manager, it sets the cursor to a new one other than the current hidden one.

I'm not sure if you want to solve it by ignoring a setCursor when the cursor is in grabbed mode (maybe setting the pregrabCursor to the one getting set).
thecookie
regular
 
Posts: 63
Joined: Sun May 03, 2009 5:53 pm

Re: Possible AwtMouseManager bug

Postby renanse » Fri Mar 12, 2010 9:19 am

Good find. :) I think rerouting to the pregrabbed cursor is probably the right choice. I'll commit a change now.
Gratitude is a mark of a noble soul and a refined character.
User avatar
renanse
Site Admin
 
Posts: 1777
Joined: Tue Oct 28, 2008 6:49 pm
Location: Austin, TX


Return to Core Development Discussions

Who is online

Users browsing this forum: No registered users and 1 guest

cron