forked from quickshell/quickshell
wayland/lock: initialize lock content before starting lock
Reduces any chances of the compositor displaying a blank frame first.
This commit is contained in:
parent
71a65c4d3c
commit
8ec245ac66
4 changed files with 79 additions and 57 deletions
|
@ -97,7 +97,8 @@ private slots:
|
|||
void onScreensChanged();
|
||||
|
||||
private:
|
||||
void updateSurfaces(WlSessionLock* old = nullptr);
|
||||
void updateSurfaces(bool show, WlSessionLock* old = nullptr);
|
||||
void realizeLockTarget(WlSessionLock* old = nullptr);
|
||||
|
||||
SessionLockManager* manager = nullptr;
|
||||
QQmlComponent* mSurfaceComponent = nullptr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue