6#include "phosphorwayland_export.h"
104 std::unique_ptr<Private> d;
bool isLocked() const
True between locked() and unlockAndDestroy() (or a compositor-driven finished()).
void unlockAndDestroy()
Release the lock after a successful authentication: sends unlock_and_destroy and flushes.
void locked()
The session is now locked; this client owns the lock and must call unlockAndDestroy() to release it.
SessionLock(QObject *parent=nullptr)
void lockedChanged()
isLocked() changed.
static bool canCreateSurfaces()
True while a lock object exists (requested or granted), which is when a LockSurface-marked window can...
void finished()
The compositor will not (or will no longer) lock the session: the lock object has been torn down and ...
static bool isSupported()
True iff the compositor advertises ext_session_lock_manager_v1.
void lock()
Request that the session be locked.
Definition BackgroundEffect.h:15