Fix popups focus on native GDK
This commit is contained in:
parent
ca2459e563
commit
4db773b1e7
5 changed files with 55 additions and 11 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue