fix(slock): make SessionLock.secure accurate

This commit is contained in:
outfoxxed 2024-02-28 21:41:30 -08:00
parent cbdfba1a3f
commit 0b529c6682
Signed by untrusted user: outfoxxed
GPG key ID: 4C88A185FB89301E
5 changed files with 11 additions and 2 deletions

View file

@ -17,6 +17,7 @@ public:
// Create a new session lock if there is no currently active lock, otherwise null.
QSWaylandSessionLock* acquireLock();
[[nodiscard]] bool isLocked() const;
[[nodiscard]] bool isSecure() const;
static bool sessionLocked();