Possible AwtMouseManager bug
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.
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.
2 posts
• Page 1 of 1
Possible AwtMouseManager bug
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).
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
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.
-

renanse - Site Admin
- Posts: 1777
- Joined: Tue Oct 28, 2008 6:49 pm
- Location: Austin, TX
2 posts
• Page 1 of 1
Return to Core Development Discussions
Who is online
Users browsing this forum: No registered users and 1 guest