From 566cfe28225d1303afc86ff7dad192ae31490c27 Mon Sep 17 00:00:00 2001 From: MightyPlaza <123664421+MightyPlaza@users.noreply.github.com> Date: Sat, 2 Sep 2023 20:18:37 +0100 Subject: [PATCH] fix reloading locked gradients modified: src/render/decorations/CHyprGroupBarDecoration.cpp Signed-off-by: MightyPlaza <123664421+MightyPlaza@users.noreply.github.com> --- src/render/decorations/CHyprGroupBarDecoration.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/render/decorations/CHyprGroupBarDecoration.cpp b/src/render/decorations/CHyprGroupBarDecoration.cpp index 758cfc24..29a5261c 100644 --- a/src/render/decorations/CHyprGroupBarDecoration.cpp +++ b/src/render/decorations/CHyprGroupBarDecoration.cpp @@ -315,6 +315,8 @@ int CHyprGroupBarDecoration::getBarHeight() { void CHyprGroupBarDecoration::forceReload(CWindow* pWindow) { m_tGradientActive.destroyTexture(); m_tGradientInactive.destroyTexture(); + m_tGradientLockedActive.destroyTexture(); + m_tGradientLockedInactive.destroyTexture(); updateWindow(pWindow); }