diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-10-14 20:46:32 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-10-14 20:46:32 +0100 |
| commit | 34cd8b125ad9f03ababd7789ebe12eac69e23227 (patch) | |
| tree | 5595368acdc5d1612c276350bf430a79667fe6dc /src/render/decorations/CHyprGroupBarDecoration.cpp | |
| parent | b0544dbfffb79e1aa043c7626fbcbc86b8ee9379 (diff) | |
rework focus system to be more safe and faster
Diffstat (limited to 'src/render/decorations/CHyprGroupBarDecoration.cpp')
| -rw-r--r-- | src/render/decorations/CHyprGroupBarDecoration.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/decorations/CHyprGroupBarDecoration.cpp b/src/render/decorations/CHyprGroupBarDecoration.cpp index eee96947..c3f9047e 100644 --- a/src/render/decorations/CHyprGroupBarDecoration.cpp +++ b/src/render/decorations/CHyprGroupBarDecoration.cpp @@ -67,7 +67,7 @@ void CHyprGroupBarDecoration::draw(CMonitor* pMonitor, float a, const Vector2D& // get how many bars we will draw int barsToDraw = m_dwGroupMembers.size(); - if (barsToDraw < 1 || m_pWindow->m_bHidden || !g_pCompositor->windowValidMapped(m_pWindow)) + if (barsToDraw < 1 || m_pWindow->isHidden() || !g_pCompositor->windowValidMapped(m_pWindow)) return; if (!m_pWindow->m_sSpecialRenderData.decorate) |
