renderer: don't render window on other mons during anim in

fixes #5139
This commit is contained in:
Vaxry
2024-03-17 01:05:26 +00:00
parent 0387528c56
commit e68c07d809
5 changed files with 14 additions and 0 deletions

View File

@@ -52,6 +52,7 @@ class CWorkspace;
struct SLayerSurface;
struct SAnimationPropertyConfig;
class CHyprRenderer;
class CWindow;
// Utility to define a concept as a list of possible type
template <class T, class... U>
@@ -135,6 +136,10 @@ class CBaseAnimatedVariable {
m_bRemoveEndAfterRan = false;
}
CWindow* getWindow() {
return (CWindow*)m_pWindow;
}
protected:
void* m_pWindow = nullptr;
void* m_pWorkspace = nullptr;