From 73d0259210bd70889f8e169455110177efdd0da3 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Mon, 27 Jun 2022 22:01:10 +0200 Subject: [PATCH] don't guard changes in activateWindow --- src/managers/XWaylandManager.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/managers/XWaylandManager.cpp b/src/managers/XWaylandManager.cpp index fbb6693e..48687163 100644 --- a/src/managers/XWaylandManager.cpp +++ b/src/managers/XWaylandManager.cpp @@ -42,9 +42,6 @@ void CHyprXWaylandManager::activateSurface(wlr_surface* pSurface, bool activate) } void CHyprXWaylandManager::activateWindow(CWindow* pWindow, bool activate) { - if (pWindow == g_pCompositor->m_pLastWindow) - return; - if (pWindow->m_bIsX11) { if (pWindow->m_uSurface.xwayland->minimized) wlr_xwayland_surface_set_minimized(pWindow->m_uSurface.xwayland, false);