kmonsoor / pyglet

Automatically exported from code.google.com/p/pyglet
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Windows set_mouse_visible(False) does not take effect without mouse move #756

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
On latest pyglet, `set_mouse_visible(False)` on windows (32-bit, py2.7) does 
not take effect until the mouse is moved *after* the call is made. If the mouse 
is not moved, the cursor stays visible on the screen.

Original issue reported on code.google.com by larson.e...@gmail.com on 24 Jul 2014 at 4:38

GoogleCodeExporter commented 9 years ago

Original comment by useboxnet on 24 Jul 2014 at 5:23

GoogleCodeExporter commented 9 years ago
Adding win.set_mouse_platform_visible(False) (even though you're not supposed 
to have to call it) fixes this issue. Must not be getting properly called in 
the set_visible method of the mouse class.

Original comment by ross.mad...@gmail.com on 28 Jul 2014 at 5:01