summaryrefslogtreecommitdiff
path: root/src/events/Layers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/events/Layers.cpp')
-rw-r--r--src/events/Layers.cpp1
1 files changed, 1 insertions, 0 deletions
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 =