session-lock: don't render workspaces when locked (#10865)
Avoid rendering the workspace behind if we are locked
This commit is contained in:
parent
d0f58baf29
commit
01971cb6c7
7 changed files with 129 additions and 81 deletions
|
|
@ -33,7 +33,7 @@ static int wlTick(SP<CEventLoopTimer> self, void* data) {
|
|||
}
|
||||
|
||||
CHyprAnimationManager::CHyprAnimationManager() {
|
||||
m_animationTimer = SP<CEventLoopTimer>(new CEventLoopTimer(std::chrono::microseconds(500), wlTick, nullptr));
|
||||
m_animationTimer = makeShared<CEventLoopTimer>(std::chrono::microseconds(500), wlTick, nullptr);
|
||||
if (g_pEventLoopManager) // null in --verify-config mode
|
||||
g_pEventLoopManager->addTimer(m_animationTimer);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue