7#include <QtQml/qqmlregistration.h>
50 QML_NAMED_ELEMENT(LockSurface)
60 [[nodiscard]] QScreen*
screen()
const;
68 Q_INVOKABLE [[nodiscard]]
bool canExist()
const;
~LockSurfaceWindow() override
LockSurfaceWindow(QWindow *parent=nullptr)
bool isConfigured() const
True once the compositor has sized the surface.
QScreen * screen() const
The output this surface covers.
void setScreen(QScreen *screen)
void refused()
A show was refused because no session lock is held; the window hides itself right after.
void showEvent(QShowEvent *event) override
bool canExist() const
Whether a show right now would be honoured: a session lock is held or in flight.
Marks a QWindow as an ext_session_lock_surface_v1 for one output.
Definition LockSurface.h:41
Definition LockKeyboard.h:14
Definition BackgroundEffect.h:15