From 334a0f03ee2f80118418c16cc06005a1fe8cfd60 Mon Sep 17 00:00:00 2001 From: Sefa Eyeoglu Date: Sat, 10 Feb 2024 00:47:00 +0100 Subject: keybinds: Fix focus not moving along when moving workspace (#4660) --------- Signed-off-by: Sefa Eyeoglu --- src/helpers/Monitor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/helpers/Monitor.cpp') diff --git a/src/helpers/Monitor.cpp b/src/helpers/Monitor.cpp index f084d3c0..cb69318f 100644 --- a/src/helpers/Monitor.cpp +++ b/src/helpers/Monitor.cpp @@ -571,8 +571,8 @@ void CMonitor::changeWorkspace(CWorkspace* const pWorkspace, bool internal, bool g_pCompositor->updateSuspendedStates(); } -void CMonitor::changeWorkspace(const int& id, bool internal) { - changeWorkspace(g_pCompositor->getWorkspaceByID(id), internal); +void CMonitor::changeWorkspace(const int& id, bool internal, bool noMouseMove, bool noFocus) { + changeWorkspace(g_pCompositor->getWorkspaceByID(id), internal, noMouseMove, noFocus); } void CMonitor::setSpecialWorkspace(CWorkspace* const pWorkspace) { -- cgit v1.2.3