Allow movefocus for empty workspaces (#2011)

* Allow switching to empty workspaces using movefocus

* Allow switching to other workspaces when no windows are focused

* Implement review feedback

* Add option to disable focus fallback

* Remove unnecessary braces
This commit is contained in:
Hilmar Wiegand
2023-04-10 15:40:03 +02:00
committed by GitHub
parent 16d05a5c8b
commit 6a4bda60f2
3 changed files with 50 additions and 8 deletions

View File

@@ -90,6 +90,8 @@ class CKeybindManager {
void updateXKBTranslationState();
bool ensureMouseBindState();
static bool tryMoveFocusToMonitorInDirection(const char&);
// -------------- Dispatchers -------------- //
static void killActive(std::string);
static void kill(std::string);