diff options
author | vaxerski <[email protected]> | 2022-05-17 13:24:23 +0200 |
---|---|---|
committer | vaxerski <[email protected]> | 2022-05-17 13:24:23 +0200 |
commit | cc84b0ce504f3bab8e32f77a9716c64fdc30ad84 (patch) | |
tree | 90149c1c10e7443b05473fb2fdfaf5d0a7c4dafd | |
parent | cad71218c0ca67b43a1085d11077daa7398f38d5 (diff) | |
download | Hyprland-cc84b0ce504f3bab8e32f77a9716c64fdc30ad84.tar.gz Hyprland-cc84b0ce504f3bab8e32f77a9716c64fdc30ad84.zip |
fix workspace fade damage
-rw-r--r-- | src/helpers/Workspace.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/helpers/Workspace.cpp b/src/helpers/Workspace.cpp index 80bf139c..16037fb6 100644 --- a/src/helpers/Workspace.cpp +++ b/src/helpers/Workspace.cpp @@ -23,6 +23,7 @@ CWorkspace::CWorkspace(int monitorID) { m_vRenderOffset.m_pWorkspace = this; m_vRenderOffset.create(AVARTYPE_VECTOR, &g_pConfigManager->getConfigValuePtr("animations:workspaces_speed")->floatValue, &g_pConfigManager->getConfigValuePtr("animations:workspaces")->intValue, &g_pConfigManager->getConfigValuePtr("animations:workspaces_curve")->strValue, nullptr, AVARDAMAGE_ENTIRE); + m_fAlpha.m_pWorkspace = this; m_fAlpha.create(AVARTYPE_FLOAT, &g_pConfigManager->getConfigValuePtr("animations:workspaces_speed")->floatValue, &g_pConfigManager->getConfigValuePtr("animations:workspaces")->intValue, &g_pConfigManager->getConfigValuePtr("animations:workspaces_curve")->strValue, nullptr, AVARDAMAGE_ENTIRE); m_fAlpha.setValueAndWarp(255.f); } |