From 217f1e4ef7acf848cf5625db1bb8d383d7c85fe7 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 9b7e12dc098c..9928936f4acc 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())