diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-04-02 13:02:16 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-04-02 13:02:16 +0200 |
| commit | 4db773b1e7d51cd008ae24f4c457710e8360fef7 (patch) | |
| tree | ea4eef4525593111bc8c8fcfe17445a6f8b727f6 /src/managers/AnimationManager.cpp | |
| parent | ca2459e56331d7522a5e05bb258e06ad30388968 (diff) | |
Fix popups focus on native GDK
Diffstat (limited to 'src/managers/AnimationManager.cpp')
| -rw-r--r-- | src/managers/AnimationManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/AnimationManager.cpp b/src/managers/AnimationManager.cpp index de83f023..c165b843 100644 --- a/src/managers/AnimationManager.cpp +++ b/src/managers/AnimationManager.cpp @@ -23,7 +23,7 @@ void CAnimationManager::tick() { for (auto& w : g_pCompositor->m_lWindows) { // process the borders - const auto& COLOR = g_pXWaylandManager->getWindowSurface(&w) == g_pCompositor->m_pLastFocus ? BORDERACTIVECOL : BORDERINACTIVECOL; + const auto& COLOR = g_pCompositor->isWindowActive(&w) ? BORDERACTIVECOL : BORDERINACTIVECOL; if (BORDERSENABLED) { if (!deltazero(COLOR, w.m_cRealBorderColor)) { |
