summaryrefslogtreecommitdiff
path: root/src/managers/input/InputManager.cpp
diff options
context:
space:
mode:
authorMightyPlaza <123664421+MightyPlaza@users.noreply.github.com>2023-12-27 10:44:13 +0000
committerGitHub <noreply@github.com>2023-12-27 11:44:13 +0100
commit6cd82d948f93be98d0fe5516722a9228f22315d1 (patch)
tree83a54224711d5dadd95d52c9d7d767bdc82175fd /src/managers/input/InputManager.cpp
parent1ecd173c7a77b5443473c03e32a119ff5b5a094b (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.cpp2
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;