Files
DankMaterialShell/core/internal/server
alvarosth 4bd3e091fe lock: take the lock back when the shell restarts into a locked session (#3685)
* lock: take the lock back when the shell restarts into a locked session

Check the state once when the module completes, on locked or lockedHint,
and handle it the way onSessionLocked does, including the wait while the
session is inactive. After a logind Unlock that the shell ignored for a
lock it started, only lockedHint still says locked; and the module loads
asynchronously, so the state can arrive before its Connections exist.

* loginctl: read LockedHint from logind on unlock

logind's Unlock signal does not clear LockedHint, only the locker does.
Forcing it false told a shell restarted in that window that the session
was no longer locked.
2026-10-04 22:17:06 -04:00
..
2026-09-17 16:51:27 -04:00
2026-09-17 16:51:27 -04:00
2026-09-17 16:51:27 -04:00
2026-09-17 16:51:27 -04:00
2026-09-17 16:51:27 -04:00
2026-09-17 16:51:27 -04:00
2026-10-04 15:10:36 -04:00
2026-09-17 16:51:27 -04:00