Patch: WindowProperties.setCursorFilename() does not work on Linux
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Panda3D |
Fix Released
|
Wishlist
|
Maxwell J. Koo |
Bug Description
On windows, one is able to set a custom cursor by using WindowPropertie
This patch fixes this issue, by using the Xcursor library to properly set the cursor under x11. Note that this will NOT fix the problem on mac osx systems, but does work under linux.
Apparently this has been recognized as a bug for some time but was never addressed. See http://
Tested under Ubuntu Lucid 10.04 32 bit, CVS build of panda3d, built with makepanda.
I will upload sample code that demonstrates the issue as an attachment.
Changed in panda3d: | |
status: | Fix Committed → Fix Released |
Sample code showing the issue, without patch the mouse pointer is inherited from the root window, with patch it becomes a crosshair.