-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
[Merged by Bors] - Expose winit always_on_top #6527
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.
Doc nit, then LGTM. I'm surprised this is your first PR!
Co-authored-by: Alice Cecile <[email protected]>
Support for this should probably be also added to I tried this out and it's pretty simple to add and works as expected (on MacOS at least) Feel free to use this: rparrett@fd2a706 (but add missing docs and whatnot) |
I'm not sure this needs its own example. I think there's an existing window_properties example? |
will do |
Once support for changing at runtime is in, this could definitely be worked into the |
bors r+ |
# Objective I needed a window which is always on top, to create a overlay app. ## Solution expose the `always_on_top` property of winit in bevy's `WindowDescriptor` as a boolean flag --- ## Changelog ### Added - add `WindowDescriptor.always_on_top` which configures a window to stay on top.
Pull request successfully merged into main. Build succeeded:
|
# Objective I needed a window which is always on top, to create a overlay app. ## Solution expose the `always_on_top` property of winit in bevy's `WindowDescriptor` as a boolean flag --- ## Changelog ### Added - add `WindowDescriptor.always_on_top` which configures a window to stay on top.
# Objective I needed a window which is always on top, to create a overlay app. ## Solution expose the `always_on_top` property of winit in bevy's `WindowDescriptor` as a boolean flag --- ## Changelog ### Added - add `WindowDescriptor.always_on_top` which configures a window to stay on top.
# Objective I needed a window which is always on top, to create a overlay app. ## Solution expose the `always_on_top` property of winit in bevy's `WindowDescriptor` as a boolean flag --- ## Changelog ### Added - add `WindowDescriptor.always_on_top` which configures a window to stay on top.
Objective
I needed a window which is always on top, to create a overlay app.
Solution
expose the
always_on_top
property of winit in bevy'sWindowDescriptor
as a boolean flagChangelog
Added
WindowDescriptor.always_on_top
which configures a window to stay on top.