-
Notifications
You must be signed in to change notification settings - Fork 909
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
macOS: set activation policy by default if app does not have a bundle identifier #3961
base: master
Are you sure you want to change the base?
macOS: set activation policy by default if app does not have a bundle identifier #3961
Conversation
Co-authored-by: Kirill Chibisov <[email protected]>
(As the author of #3920 that caused this) Thanks for doing this so quickly! Makes sense to me. |
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.
Ah, the difference between bundled and unbundled apps continue to be my bane!
let is_bundle = | ||
unsafe { NSRunningApplication::currentApplication().bundleIdentifier().is_some() }; | ||
if !is_bundle { |
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.
Please add a comment here, perhaps linking to #3958
changelog
module if knowledge of this change could be valuable to usersThis is an alternative fix for #3958 which makes the fix within winit itself rather than in the
window
example like #3959. I think something like this is probably the better fix as it means that users don't all have to set the activation policy manually if they want keyboard support.