fix lastFocus on activateWindow

This commit is contained in:
Vaxry 2022-08-17 22:59:40 +02:00
parent 4c1dba643e
commit f4d11d2d43

View file

@ -54,7 +54,6 @@ void CHyprXWaylandManager::activateWindow(CWindow* pWindow, bool activate) {
else
wlr_xdg_toplevel_set_activated(pWindow->m_uSurface.xdg->toplevel, activate);
g_pCompositor->m_pLastFocus = getWindowSurface(pWindow);
g_pCompositor->m_pLastWindow = pWindow;
}