fix reloading locked gradients

modified:   src/render/decorations/CHyprGroupBarDecoration.cpp

Signed-off-by: MightyPlaza <123664421+MightyPlaza@users.noreply.github.com>
This commit is contained in:
MightyPlaza 2023-09-02 20:18:37 +01:00
parent 0120273992
commit 566cfe2822
No known key found for this signature in database
GPG key ID: 284C27FD27A6DC0D

View file

@ -315,6 +315,8 @@ int CHyprGroupBarDecoration::getBarHeight() {
void CHyprGroupBarDecoration::forceReload(CWindow* pWindow) { void CHyprGroupBarDecoration::forceReload(CWindow* pWindow) {
m_tGradientActive.destroyTexture(); m_tGradientActive.destroyTexture();
m_tGradientInactive.destroyTexture(); m_tGradientInactive.destroyTexture();
m_tGradientLockedActive.destroyTexture();
m_tGradientLockedInactive.destroyTexture();
updateWindow(pWindow); updateWindow(pWindow);
} }