-
Notifications
You must be signed in to change notification settings - Fork 903
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: non-activating window #3894
Comments
Disregard. I tried patching winit and it’s more complicated than that. this styleMask requires the use of NSPanel instead of NSWindow and then it’s still not quite behaving the way I want it to. |
If all you end up needing is the ability to set a specific style mask, then I'd be fine with accepting a PR for that - if the solution is to use |
I got it to work the way I expect it to work, but there are multiple changes necessary. The one that took me the longest to find, was the I'll try to cleanup my changes and open a PR, but given how niche this is, I am not sure it has a good chance of getting merged :( |
@madsmtm given the class based approach of |
Well, we don't really use So I think you could change occurrences of |
Description
I am currently evaluating porting Loungy from GPUI to Iced and I noticed I can't replicate the window behavior I need in Winit. The important bit is this from GPUI codebase:
https://github.com/zed-industries/zed/blob/a850731b0ed61b0ef2a0173843b6daedf45327e8/crates/gpui/src/platform/mac/window.rs#L56
This basically prevents the Window from ever "activating", which is required to get a nicely behaving launcher window on MacOS. I realize this is very niche usecase, but it would be nice to have it supported on Winit.
Relevant platforms
MacOS
The text was updated successfully, but these errors were encountered: