summaryrefslogtreecommitdiff
path: root/src/desktop/Workspace.cpp
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/desktop/Workspace.cpp
parent2877ca2933a2f6e11512479b18e5d418b3e23da3 (diff)
config/workspacerule: add animation style (#13380)
Diffstat (limited to 'src/desktop/Workspace.cpp')
-rw-r--r--src/desktop/Workspace.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/desktop/Workspace.cpp b/src/desktop/Workspace.cpp
index 5df3f087..7676060a 100644
--- a/src/desktop/Workspace.cpp
+++ b/src/desktop/Workspace.cpp
@@ -36,6 +36,8 @@ void CWorkspace::init(PHLWORKSPACE self) {
const auto RULEFORTHIS = g_pConfigManager->getWorkspaceRuleFor(self);
if (RULEFORTHIS.defaultName.has_value())
m_name = RULEFORTHIS.defaultName.value();
+ if (RULEFORTHIS.animationStyle.has_value())
+ m_animationStyle = RULEFORTHIS.animationStyle.value();
m_focusedWindowHook = Event::bus()->m_events.window.close.listen([this](PHLWINDOW pWindow) {
if (pWindow == m_lastFocusedWindow.lock())