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

Use ext-session-lock protocol #2

Merged
merged 1 commit into from
Nov 16, 2023
Merged

Conversation

ids1024
Copy link
Member

@ids1024 ids1024 commented Oct 27, 2023

Based on pop-os/iced#71. Can be tested with either pop-os/cosmic-comp#203 or a recent version of Sway.

Setting focus to the text input doesn't seem to work properly. That doesn't seem to be related to the ext-session-lock protocol, though, since the surface has keyboard focus and is getting key press events.

Calling process::exit(0) also doesn't work properly since the client can't exit until the server has processed the unlock call, or the server will stay locked (for security).

@ids1024 ids1024 force-pushed the sctk-session-lock_jammy branch from e6a2a95 to ded8b4f Compare October 27, 2023 01:34
@ids1024 ids1024 force-pushed the sctk-session-lock_jammy branch 2 times, most recently from 979ae40 to b9cc69c Compare November 15, 2023 23:31
@ids1024
Copy link
Member Author

ids1024 commented Nov 15, 2023

Now that pop-os/iced#71 is merged, this just needs pop-os/libcosmic#206. And the version of iced in libcosmic will need to be updated.

@jackpot51
Copy link
Member

@ids1024 can you make a PR to libcosmic to update iced there?

@ids1024 ids1024 force-pushed the sctk-session-lock_jammy branch from b9cc69c to 3eac044 Compare November 16, 2023 00:17
@ids1024 ids1024 changed the title WIP ext-session-lock Use ext-session-lock protocol Nov 16, 2023
@ids1024 ids1024 marked this pull request as ready for review November 16, 2023 00:18
@jackpot51 jackpot51 merged commit 0e7964b into master_jammy Nov 16, 2023
@jackpot51 jackpot51 deleted the sctk-session-lock_jammy branch November 16, 2023 00:36
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