From de3471b3356280e692109cea81e426b7222a8aea Mon Sep 17 00:00:00 2001 From: ItsOhen Date: Fri, 13 Mar 2026 22:50:34 +0100 Subject: config/workspacerule: add animation style (#13380) --- src/managers/animation/DesktopAnimationManager.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/managers/animation/DesktopAnimationManager.hpp') diff --git a/src/managers/animation/DesktopAnimationManager.hpp b/src/managers/animation/DesktopAnimationManager.hpp index fa86425e..92aadb9f 100644 --- a/src/managers/animation/DesktopAnimationManager.hpp +++ b/src/managers/animation/DesktopAnimationManager.hpp @@ -3,6 +3,7 @@ #include "../../helpers/memory/Memory.hpp" #include "../../desktop/DesktopTypes.hpp" #include +#include class CDesktopAnimationManager { public: @@ -13,7 +14,7 @@ class CDesktopAnimationManager { void startAnimation(PHLWINDOW w, eAnimationType type, bool force = false); void startAnimation(PHLLS ls, eAnimationType type, bool instant = false); - void startAnimation(PHLWORKSPACE ws, eAnimationType type, bool left = true, bool instant = false); + void startAnimation(PHLWORKSPACE ws, eAnimationType type, bool left = true, bool instant = false, std::optional style = std::nullopt); void setFullscreenFadeAnimation(PHLWORKSPACE ws, eAnimationType type); void setFullscreenFloatingFade(PHLWINDOW pWindow, float fade); -- cgit v1.2.3