Skip to content

Commit

Permalink
e
Browse files Browse the repository at this point in the history
style
  • Loading branch information
nnyyxxxx committed Feb 6, 2025
1 parent dacd2ff commit d334557
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/managers/XWaylandManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,8 @@ void CHyprXWaylandManager::activateWindow(PHLWINDOW pWindow, bool activate) {
}

pWindow->m_pXWaylandSurface->activate(activate);
} else if (pWindow->m_pXDGSurface && pWindow->m_pXDGSurface->toplevel) {
} else if (pWindow->m_pXDGSurface && pWindow->m_pXDGSurface->toplevel)
pWindow->m_pXDGSurface->toplevel->setActive(activate);
}

if (activate) {
g_pCompositor->m_pLastFocus = getWindowSurface(pWindow);
Expand Down

0 comments on commit d334557

Please sign in to comment.