summaryrefslogtreecommitdiff
path: root/src/helpers/Monitor.cpp
diff options
context:
space:
mode:
authorAnthony Ruhier <aruhier@mailbox.org>2023-05-17 14:32:59 +0200
committerGitHub <noreply@github.com>2023-05-17 13:32:59 +0100
commitd7935356da16beaf7667af60d2e7fb46cc202599 (patch)
tree7034f7cb9e69d2a39d81a16139fe82655c392385 /src/helpers/Monitor.cpp
parent9ef7225532a5eccb91d4c7775913ce5b51a440d9 (diff)
input: don't move monitor focus on wp change (#2320)
Diffstat (limited to 'src/helpers/Monitor.cpp')
-rw-r--r--src/helpers/Monitor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helpers/Monitor.cpp b/src/helpers/Monitor.cpp
index 166a18d4..69d63494 100644
--- a/src/helpers/Monitor.cpp
+++ b/src/helpers/Monitor.cpp
@@ -538,7 +538,7 @@ void CMonitor::changeWorkspace(CWorkspace* const pWorkspace, bool internal) {
g_pCompositor->focusWindow(PLASTWINDOW);
else {
g_pCompositor->focusWindow(nullptr);
- g_pInputManager->refocus();
+ g_pInputManager->simulateMouseMovement();
}
g_pLayoutManager->getCurrentLayout()->recalculateMonitor(ID);