From bcee3a4aaec716d60edfa5672781e2403355729c Mon Sep 17 00:00:00 2001 From: outfoxxed Date: Mon, 10 Jun 2024 15:00:02 -0700 Subject: [PATCH] layerSurface: dont reset last focus on refocus --- src/managers/input/InputManager.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/managers/input/InputManager.cpp b/src/managers/input/InputManager.cpp index 9b7e12dc098..9928936f4ac 100644 --- a/src/managers/input/InputManager.cpp +++ b/src/managers/input/InputManager.cpp @@ -1392,7 +1392,6 @@ void CInputManager::refocusLastWindow(CMonitor* pMonitor) { SP foundSurface = nullptr; g_pInputManager->releaseAllMouseButtons(); - g_pCompositor->m_pLastFocus.reset(); // first try for an exclusive layer if (!m_dExclusiveLSes.empty())