diff options
| author | MightyPlaza <123664421+MightyPlaza@users.noreply.github.com> | 2023-12-27 10:44:13 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-27 11:44:13 +0100 |
| commit | 6cd82d948f93be98d0fe5516722a9228f22315d1 (patch) | |
| tree | 83a54224711d5dadd95d52c9d7d767bdc82175fd /src/managers/input/InputManager.cpp | |
| parent | 1ecd173c7a77b5443473c03e32a119ff5b5a094b (diff) | |
input: don't steal mouseDown from LS (#4260)
modified: src/managers/input/InputManager.cpp
Diffstat (limited to 'src/managers/input/InputManager.cpp')
| -rw-r--r-- | src/managers/input/InputManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/input/InputManager.cpp b/src/managers/input/InputManager.cpp index db06de55..157893d5 100644 --- a/src/managers/input/InputManager.cpp +++ b/src/managers/input/InputManager.cpp @@ -606,7 +606,7 @@ void CInputManager::processMouseDownNormal(wlr_pointer_button_event* e) { const auto mouseCoords = g_pInputManager->getMouseCoordsInternal(); const auto w = g_pCompositor->vectorToWindowIdeal(mouseCoords); - if (w && !w->m_bIsFullscreen && !w->hasPopupAt(mouseCoords)) { + if (w && !w->m_bIsFullscreen && !m_bLastFocusOnLS && !w->hasPopupAt(mouseCoords)) { for (auto& wd : w->m_dWindowDecorations) { if (!(wd->getDecorationFlags() & DECORATION_ALLOWS_MOUSE_INPUT)) continue; |
