-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Track the global focus state of the UI #1859
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice, I like it! But please add some docstrings to the two fn has_focus
to explain which one heeds RawInput::has_focus
, and why
Another option would be to make the |
@mwcampbell I like that approach! |
@emilk On closer investigation, I don't think my suggested solution will work. The most obvious reason is that other functions in |
Let's just go with added docstrings for now! |
Closes #1845.