summaryrefslogtreecommitdiff
path: root/src/managers/animation/DesktopAnimationManager.hpp
diff options
context:
space:
mode:
authorItsOhen <TNordfeldt@gmail.com>2026-03-13 22:50:34 +0100
committerGitHub <noreply@github.com>2026-03-13 16:50:34 -0500
commitde3471b3356280e692109cea81e426b7222a8aea (patch)
treec7b454165cd9b198728958623849c32ff58634b3 /src/managers/animation/DesktopAnimationManager.hpp
parent2877ca2933a2f6e11512479b18e5d418b3e23da3 (diff)
config/workspacerule: add animation style (#13380)
Diffstat (limited to 'src/managers/animation/DesktopAnimationManager.hpp')
-rw-r--r--src/managers/animation/DesktopAnimationManager.hpp3
1 files changed, 2 insertions, 1 deletions
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 <string>
+#include <optional>
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<std::string> style = std::nullopt);
void setFullscreenFadeAnimation(PHLWORKSPACE ws, eAnimationType type);
void setFullscreenFloatingFade(PHLWINDOW pWindow, float fade);