mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-04 06:01:56 -07:00
Fix popups focus on native GDK
This commit is contained in:
@@ -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)) {
|
||||
|
Reference in New Issue
Block a user