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

Mouse clicks aren't processed while the pointer is outside the window #345

Open
tech6hutch opened this issue Feb 26, 2024 · 2 comments
Open

Comments

@tech6hutch
Copy link

When clicking in the window, dragging out, and releasing the button, window.get_mouse_down(MouseButton::Left) continues to return true until the mouse comes back in. Is this intended behavior / a limitation of the Windows API?

Related: #280, where the state wasn't updated even after coming back to the window.

@emoon
Copy link
Owner

emoon commented Feb 27, 2024

I see. Which OS are you using?

@tech6hutch
Copy link
Author

Windows 10. I can check Windows 11 sometime today too.

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

No branches or pull requests

2 participants