Skip to content

Add cosmic-session-lock-layer-v1 protocol - #88

Draft
ids1024 wants to merge 1 commit into
mainfrom
session-lock
Draft

Add cosmic-session-lock-layer-v1 protocol#88
ids1024 wants to merge 1 commit into
mainfrom
session-lock

Conversation

@ids1024

@ids1024 ids1024 commented Sep 8, 2026

Copy link
Copy Markdown
Member

@Drakulix Drakulix left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume we add notify events in a version 2 later.

@ids1024

ids1024 commented Sep 9, 2026

Copy link
Copy Markdown
Member Author

My thought is to have a separate cosmic-session-lock-notify-v1 protocol and global for that, since notification that the session is locked is not privileged, while creating session lock layers (or layer surfaces in general) is. For instance we want the panel to expose the notify protocol to applets.

(Technically it would also work to just expose them in one protocol, but the layer part is inert for clients without wlr-layer-shell-unstable-v1; but it's cleaner to have them separate.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants