Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • W wayland-protocols
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 110
    • Issues 110
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 56
    • Merge requests 56
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • waylandwayland
  • wayland-protocols
  • Merge requests
  • !131

ext-session-lock-v1: new protocol

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Isaac Freund requested to merge ifreund/wayland-protocols:ext-lock-v1 into main Dec 15, 2021
  • Overview 63
  • Commits 1
  • Pipelines 12
  • Changes 3

This protocol allows for a privileged Wayland client to lock the session and display arbitrary graphics while the session is locked.

The client is responsible for performing authentication and informing the compositor when the session should be unlocked. If the client dies while the session is locked the session remains locked, possibly permanently depending on compositor policy.

This takes a different approach from !100 (closed), leaving more details up to the compositor for flexibility.

I intend to implement this protocol in river as river-lock-v1 and write a client in the next few weeks. I decided to submit it here as well though as I believe other compositor authors are also interested in a better way to implement screenlocking. Seems that wayland-protocols might be moving a bit faster than expected :)

  • Reviewer: @emersion
  • Compositor impl: wlroots/wlroots!3414 (merged), https://github.com/riverwm/river/pull/497
  • Client impl: https://github.com/swaywm/swaylock/pull/219
Edited Dec 30, 2021 by Isaac Freund
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: ext-lock-v1