-
-
Notifications
You must be signed in to change notification settings - Fork 468
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
Add mouse enter/leave events #570
Comments
@cybergeek94 you mentioned that only leave events could be added in WinAPI. Is this right? |
As far as I can tell, yes. There's the It looks like a mouse-entered message is supposed to be implied when you start getting |
On Linux, X11 generates both events natively: https://tronche.com/gui/x/xlib/events/window-entry-exit/ |
Wayland does natively generate both as well: http://vberger.github.io/wayland-client-rs/wayland_client/wayland/seat/enum.WlPointerEvent.html |
I'm going to take a stab at this. I'm thinking of adding a Thoughts? |
The more I think about it, the more I like leaving |
Closing for rust-windowing/winit#53 |
This is a requested feature when you are dragging something and the cursor moves outside the window. On Linux and Windows the window stops emitting mouse coordinates. When returning to the window this can lead to undesirable behavior.
See PistonDevelopers/piston#958 for discussion.
The text was updated successfully, but these errors were encountered: