From 6a4bda60f2dfcc82fbccfca49d5c50a31f475596 Mon Sep 17 00:00:00 2001 From: Hilmar Wiegand Date: Mon, 10 Apr 2023 15:40:03 +0200 Subject: 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 --- src/managers/KeybindManager.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/managers/KeybindManager.hpp') diff --git a/src/managers/KeybindManager.hpp b/src/managers/KeybindManager.hpp index 9fd299b2..f17a8058 100644 --- a/src/managers/KeybindManager.hpp +++ b/src/managers/KeybindManager.hpp @@ -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); -- cgit v1.2.3