diff options
| author | drendog <53359960+drendog@users.noreply.github.com> | 2024-03-22 02:28:50 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-22 01:28:50 +0000 |
| commit | 9bad62b85f179ad2c95c6e7f734768ef060a604b (patch) | |
| tree | 0de0777ce66bf2fd1db900b734e22983d0c5b1e5 /src/events/Layers.cpp | |
| parent | a94b902bef5eef3a4891726d51415c5d2e3391e3 (diff) | |
layershell: release all mouse buttons before focus on new ls (#5219)
Diffstat (limited to 'src/events/Layers.cpp')
| -rw-r--r-- | src/events/Layers.cpp | 1 |
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 = |
