Go to index / Go to protocols

kde_lockscreen_overlay_v1 ↗

kde_lockscreen_overlay_v1
kde_lockscreen_overlay_v1

Version 1

Allow surfaces over the lockscreen

Allows a client to request a surface to be visible when the system is locked.

This is meant to be used for specific high urgency cases like phone calls or alarms.

Warning! The protocol described in this file is a desktop environment implementation detail. Regular clients must not use this protocol. Backward incompatible changes may be added without bumping the major version of the extension.

kde_lockscreen_overlay_v1
enum error {
    invalid_surface_state = 0,
}
  • invalid_surface_state — the client provided an invalid surface state
kde_lockscreen_overlay_v1
request allow(
    surface: object<wl_surface>,
)

    Tell about which surface could be raised above the lockscreen

    Informs the compositor that the surface could be shown when the screen is locked. This request should be called while the surface is unmapped.

    kde_lockscreen_overlay_v1
    request destroy()
    Destructor

      Destroy the kde_lockscreen_overlay_v1

      This won't affect the surface previously marked with the allow request.