Closed purajit closed 2 months ago
@madsmtm addressed your comments, and thanks for the quick review! I've tested with a branch off of v0.30.4 since v0.30.5 (clean) breaks the application I'm testing it through. Do you think this is good enough? If not, I can try doing a test with the example tomorrow.
Awesome, thanks!
Fixes https://github.com/rust-windowing/winit/issues/261
Essentially, MacOS users of applications that use
winit
were unable to setLSUIElement
in their package manifest to make the app behave as an agent app, even if the application itself wasn't enforcing anything. This was becausewinit
was using a default value ofActivationPolicy:Regular
if none was provided, overriding anything in the package manifest.So, make
with_activation_policy
override package manifest only if explicitly specified.See ActivationPolicy docs, LSUIElement docs.
Tested with a branch off of v0.30.4, since v0.30.5 (clean) breaks the build of the application I'm using.
changelog
module if knowledge of this change could be valuable to users