-
Notifications
You must be signed in to change notification settings - Fork 206
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
Race condition when an output is plugged in #16
Comments
When binding lid switch to disable internal output on a laptop, this ends up happening pretty much every time the laptop is opened. |
FWIW, within kwin we know when a screen is locked (we have something bespoke, but you can get it from the logind hint) When locked we don't render anything at all except for windows from a specific client. For you that could be only showing windows with a given namespace. We still have the race where we render before our lockscreen catches up, but because we're skipping all other windows, that just results in a black screen for a bit, which isn't a problem. |
Is there a workaround to this problem other than not disabling the output when the laptop lid is closed? |
The intented fix for this is swaywm/wlr-protocols#86. Needs implementations. |
The protocol has been implemented now. |
(5) may or may not be visible during a long time, depending on various conditions. Recording the screen with a camera might allow to retrieve the screen contents.
The text was updated successfully, but these errors were encountered: