Skip to content

Commit

Permalink
layerSurface: dont reset last focus on refocus
Browse files Browse the repository at this point in the history
  • Loading branch information
outfoxxed committed Jun 10, 2024
1 parent ef34ac1 commit 217f1e4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/managers/input/InputManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1392,7 +1392,6 @@ void CInputManager::refocusLastWindow(CMonitor* pMonitor) {
SP<CWLSurfaceResource> foundSurface = nullptr;

g_pInputManager->releaseAllMouseButtons();
g_pCompositor->m_pLastFocus.reset();

// first try for an exclusive layer
if (!m_dExclusiveLSes.empty())
Expand Down

0 comments on commit 217f1e4

Please sign in to comment.