diff options
| author | ItsOhen <TNordfeldt@gmail.com> | 2026-03-13 22:50:34 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-13 16:50:34 -0500 |
| commit | de3471b3356280e692109cea81e426b7222a8aea (patch) | |
| tree | c7b454165cd9b198728958623849c32ff58634b3 /src/desktop/Workspace.cpp | |
| parent | 2877ca2933a2f6e11512479b18e5d418b3e23da3 (diff) | |
config/workspacerule: add animation style (#13380)
Diffstat (limited to 'src/desktop/Workspace.cpp')
| -rw-r--r-- | src/desktop/Workspace.cpp | 2 |
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()) |
