-
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
Wayland support for set_visible
?
#2388
Comments
We should be able to use |
What sort of application are you making? As far as I'm aware, you won't get much of any input events from Winit on Wayland if your window isn't focused (or visible, even). |
The goal is to be able to hide the window and show it later from a tray icon click without entirely restarting the program |
No that's irrelevant, decorations have nothing to do with that.
From what I know this is usually done by destroying the window and creating it over on reaction to some dbus event. The only way to make window invisible on Wayland is by dropping it and creating later on. There's no way to do it differently, sorry. |
Apologies, this is my first foray in to use of winit via egui. I'm in need of
set_visible
for an app that can run in the background - but this feature doesn't work on wayland.Is there any plan to add support for
set_visible
in wayland?The text was updated successfully, but these errors were encountered: