-->
import Quickshell.Wayland
Surface displayed by a WlSessionLock when it is locked.
If the surface has been made visible.
Note: SessionLockSurfaces will never become invisible, they will only be destroyed.
The background color of the window. Defaults to white.
WARNING
This seems to behave weirdly when using transparent colors on some systems. Using a colored content item over a transparent window is the recommended way to work around this:
ProxyWindow {
Rectangle {
anchors.fill: parent
color: "#20ffffff"
// your content here
}
}
… but you probably shouldn’t make a transparent lock, and most compositors will ignore an attempt to do so.
The screen that the surface is displayed on.