Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GoogleCodeExporter opened this issue Apr 6, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 24 Jul 2014 at 4:38

@GoogleCodeExporter
Copy link
Author

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

  • Changed state: Accepted
  • Added labels: OpSys-Windows, Type-Defect

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 28 Jul 2014 at 5:01

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant