layershell: release all mouse buttons before focus on new ls (#5219)

This commit is contained in:
drendog
2024-03-22 02:28:50 +01:00
committed by GitHub
parent a94b902bef
commit 9bad62b85f

View File

@@ -148,6 +148,7 @@ void Events::listener_mapLayerSurface(void* owner, void* data) {
(!g_pCompositor->m_sSeat.mouse || !g_pInputManager->isConstrained());
if (GRABSFOCUS) {
g_pInputManager->releaseAllMouseButtons();
g_pCompositor->focusSurface(layersurface->layerSurface->surface);
const auto LOCAL =