failure to hide cursor while switching to fullscreen on OSX
Bug #784153 reported by
Cole Ingraham
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Panda3D |
Fix Released
|
Medium
|
rdb |
Bug Description
Currently with the following code:
WindowProperties wp = window-
wp.set_
wp.set_
wp.set_
wp.set_mouse_mode (WindowProperti
window-
everything works correctly except for hiding the cursor. This is v1.7.2 on OSX 10.6.
Changed in panda3d: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Just checked in a fix. In the meantime, the workaround you can use is to first request a WindowProperties object switching to fullscreen, and afterward again to hide the cursor.
For the record, your method of updating the window properties is incorrect. Instead of getting the existing WindowProperties object, modifying and pushing it back, you have to create a new WindowProperties object containing only the properties you want to change.