Commit graph

16 commits

Author SHA1 Message Date
Vukašin Vojinović
9895bd4b43 chore: add rustfmt config 2026-04-29 00:20:17 +02:00
Ashley Wulber
619910c5cc chore: update libcosmic
fixes input clipping
2026-04-14 10:27:16 -06:00
Ashley Wulber
89671a793f chore: updates after iced rebase 2026-03-30 12:49:32 -06:00
Ashley Wulber
79bf2cb4f8 chore: cleanup logs 2025-09-12 23:47:22 +02:00
Jason Rodney Hansen
046f805084 Update time when resuming from sleep 2025-06-05 06:15:22 +08:00
Michael Aaron Murphy
0600931abf refactor: improve and fix subscriptions and async logic 2025-04-10 16:51:24 -04:00
Ashley Wulber
7918485651 update libcosmic
this uses a subsurface for the greeter menu and a text input that manages its own input string state
2025-03-15 02:57:51 +00:00
Jeremy Soller
08202f1572
Recover previous locked state 2024-11-07 09:37:16 -07:00
Lily Foster
a114971a67
Fix race condition when getting login session
If `org.freedesktop.login1.Manager.GetSessionByPID` is called after
cosmic-session puts it in a new systemd scope, it will no longer find
the login session as it would have been removed out of the login session
scope.

Most of the time, cosmic-greeter gets to that line before the scope is
changed, but sometimes (particularly on slower systems or virtual
machines) this race can be lost and lead to cosmic-greeter failing to
start and preventing lockscreen from working.

This commit solves that race condition by always checking the parent PID
instead (which would be cosmic-session which is always present in the
login session scope), and all POSIX-y systems should support using parent
PID.
2024-09-22 17:04:23 -04:00
Ashley Wulber
2294d10a51 fix: exit after logind subscription error 2024-07-31 20:00:30 -06:00
Jeremy Soller
d11501c43d
Update dependencies 2024-05-17 09:11:50 -06:00
Jeremy Soller
9d4fe5bb0b Lock on suspend with inhibit 2024-04-08 09:43:13 -06:00
Jeremy Soller
349c009321 Support unlock from logind dbus 2024-04-08 09:43:13 -06:00
Jeremy Soller
e9b5524992 Add subscription for logind lock/unlock 2024-04-08 09:43:13 -06:00
Krzysztof Zduniak
f8da96e43e Fix power_off in logind.rs 2024-04-05 08:56:59 -06:00
Jeremy Soller
13e3dcd911
Implement suspend with logind 2023-11-29 08:02:14 -07:00