Skip to content
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

Question : how to set a top most window ? thanks #539

Closed
vvw2wvv-live opened this issue Sep 26, 2020 · 2 comments · Fixed by #543
Closed

Question : how to set a top most window ? thanks #539

vvw2wvv-live opened this issue Sep 26, 2020 · 2 comments · Fixed by #543
Labels
feature New feature or request good first issue Good for newcomers

Comments

@vvw2wvv-live
Copy link

No description provided.

@twitchyliquid64
Copy link

I assume you are using iced_winit, which is a wrapper around winit. Winit has with_always_on_top, so perhaps theres a way to set that when building the window?

https://docs.rs/winit/0.22.2/winit/window/struct.WindowBuilder.html#method.with_always_on_top

@twitchyliquid64
Copy link

So it looks like theres a bunch of crap that gets used when initializing winit, but with_always_on_top is not one of them: https://github.com/hecrj/iced/blob/master/winit/src/settings.rs#L77

It should be a simple change however to add it in along side the others. Might be a good PR?

@hecrj hecrj added feature New feature or request good first issue Good for newcomers labels Sep 29, 2020
hecrj added a commit that referenced this issue Sep 30, 2020
Fixes #539: Allow windows to be set always_on_top
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants