diff options
| author | Maximilian Seidler <78690852+PaideiaDilemma@users.noreply.github.com> | 2025-07-14 13:13:54 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-14 13:13:54 +0200 |
| commit | 01971cb6c7b7607329314645bf46e83d985eafeb (patch) | |
| tree | 7c634faa6bfe228fc300845abb67765ed3372223 /src/managers/AnimationManager.cpp | |
| parent | d0f58baf296a2cdd5df0f82212fe17dfbef8438e (diff) | |
session-lock: don't render workspaces when locked (#10865)
Avoid rendering the workspace behind if we are locked
Diffstat (limited to 'src/managers/AnimationManager.cpp')
| -rw-r--r-- | src/managers/AnimationManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/AnimationManager.cpp b/src/managers/AnimationManager.cpp index d1da1a36..333111e9 100644 --- a/src/managers/AnimationManager.cpp +++ b/src/managers/AnimationManager.cpp @@ -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); |
