aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorVaxry <[email protected]>2024-02-10 14:38:11 +0000
committerVaxry <[email protected]>2024-02-10 14:38:11 +0000
commit8b8ade50331528b43956c06b22a3f3319aa5a5de (patch)
tree71d4f145048df85ef739425ee3e706f3d4c2990f
parentdac898d69ca8227a3e9eaf1997dedee1f7c76024 (diff)
downloadHyprland-8b8ade50331528b43956c06b22a3f3319aa5a5de.tar.gz
Hyprland-8b8ade50331528b43956c06b22a3f3319aa5a5de.zip
minor type fixes
-rw-r--r--src/Compositor.cpp2
-rw-r--r--src/render/decorations/CHyprGroupBarDecoration.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp
index bfc96fc7..94a0a0c9 100644
--- a/src/Compositor.cpp
+++ b/src/Compositor.cpp
@@ -1862,7 +1862,7 @@ void CCompositor::updateWindowAnimatedDecorationValues(CWindow* pWindow) {
static auto* const PINACTIVEALPHA = (Hyprlang::FLOAT* const*)g_pConfigManager->getConfigValuePtr("decoration:inactive_opacity");
static auto* const PACTIVEALPHA = (Hyprlang::FLOAT* const*)g_pConfigManager->getConfigValuePtr("decoration:active_opacity");
static auto* const PFULLSCREENALPHA = (Hyprlang::FLOAT* const*)g_pConfigManager->getConfigValuePtr("decoration:fullscreen_opacity");
- static auto* const PSHADOWCOL = (Hyprlang::FLOAT* const*)g_pConfigManager->getConfigValuePtr("decoration:col.shadow");
+ static auto* const PSHADOWCOL = (Hyprlang::INT* const*)g_pConfigManager->getConfigValuePtr("decoration:col.shadow");
static auto* const PSHADOWCOLINACTIVE = (Hyprlang::INT* const*)g_pConfigManager->getConfigValuePtr("decoration:col.shadow_inactive");
static auto* const PDIMSTRENGTH = (Hyprlang::FLOAT* const*)g_pConfigManager->getConfigValuePtr("decoration:dim_strength");
static auto* const PDIMENABLED = (Hyprlang::INT* const*)g_pConfigManager->getConfigValuePtr("decoration:dim_inactive");
diff --git a/src/render/decorations/CHyprGroupBarDecoration.cpp b/src/render/decorations/CHyprGroupBarDecoration.cpp
index eecb1951..20c0240f 100644
--- a/src/render/decorations/CHyprGroupBarDecoration.cpp
+++ b/src/render/decorations/CHyprGroupBarDecoration.cpp
@@ -145,7 +145,7 @@ void CHyprGroupBarDecoration::draw(CMonitor* pMonitor, float a, const Vector2D&
g_pHyprOpenGL->renderTexture(GRADIENTTEX, &rect, 1.0);
}
- if (*PRENDERTITLES) {
+ if (**PRENDERTITLES) {
CTitleTex* pTitleTex = textureFromTitle(m_dwGroupMembers[i]->m_szTitle);
if (!pTitleTex)