keybinds: Fix focus not moving along when moving workspace (#4660)

---------

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu
2024-02-10 00:47:00 +01:00
committed by GitHub
parent 289d4241be
commit 334a0f03ee
4 changed files with 11 additions and 6 deletions

View File

@@ -142,7 +142,7 @@ class CMonitor {
bool isMirror();
float getDefaultScale();
void changeWorkspace(CWorkspace* const pWorkspace, bool internal = false, bool noMouseMove = false, bool noFocus = false);
void changeWorkspace(const int& id, bool internal = false);
void changeWorkspace(const int& id, bool internal = false, bool noMouseMove = false, bool noFocus = false);
void setSpecialWorkspace(CWorkspace* const pWorkspace);
void setSpecialWorkspace(const int& id);
void moveTo(const Vector2D& pos);