From 9b8ef9206d9687fd2280cff5c0e6d5fe6abb395a Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Thu, 4 Apr 2024 22:41:09 +0700 Subject: layers: separate anim configs for open/close (#5421) --- src/config/ConfigManager.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/config/ConfigManager.cpp') diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index 87bb5bbd..edbfa2b3 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -646,6 +646,10 @@ void CConfigManager::setDefaultAnimationVars() { INITANIMCFG("windowsOut"); INITANIMCFG("windowsMove"); + // layers + INITANIMCFG("layersIn"); + INITANIMCFG("layersOut"); + // fade INITANIMCFG("fadeIn"); INITANIMCFG("fadeOut"); @@ -669,6 +673,9 @@ void CConfigManager::setDefaultAnimationVars() { CREATEANIMCFG("borderangle", "global"); CREATEANIMCFG("workspaces", "global"); + CREATEANIMCFG("layersIn", "layers"); + CREATEANIMCFG("layersOut", "layers"); + CREATEANIMCFG("windowsIn", "windows"); CREATEANIMCFG("windowsOut", "windows"); CREATEANIMCFG("windowsMove", "windows"); @@ -679,6 +686,8 @@ void CConfigManager::setDefaultAnimationVars() { CREATEANIMCFG("fadeShadow", "fade"); CREATEANIMCFG("fadeDim", "fade"); CREATEANIMCFG("fadeLayers", "fade"); + CREATEANIMCFG("fadeLayersIn", "fadeLayers"); + CREATEANIMCFG("fadeLayersOut", "fadeLayers"); CREATEANIMCFG("specialWorkspace", "workspaces"); } -- cgit v1.2.3