diff --git a/src/events/Layers.cpp b/src/events/Layers.cpp index 4e61baa0..f4b52445 100644 --- a/src/events/Layers.cpp +++ b/src/events/Layers.cpp @@ -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 =