Skip to content
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

session_lock: Add accessor for ExtSessionLockV1 to SessionLocker #1184

Merged
merged 1 commit into from
Oct 27, 2023

Conversation

ids1024
Copy link
Member

@ids1024 ids1024 commented Oct 27, 2023

The compositor can store this, and test if the object is still valid with DisplayHandle::get_client. This way the compositor can allow another session lock to be created if the previous client crashed and failed to unlock.

Maybe there could be a better API to help with this, but I'm not sure how.

pop-os/cosmic-comp#205 demonstrates how this can be handled.

The compositor can store this, and test if the object is still valid
with `DisplayHandle::get_client`. This way the compositor can allow
another session lock to be created if the previous client crashed and
failed to unlock.
@Drakulix Drakulix merged commit 2602e0e into Smithay:master Oct 27, 2023
13 checks passed
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