summaryrefslogtreecommitdiff
path: root/src/managers/KeybindManager.hpp
diff options
context:
space:
mode:
authorHilmar Wiegand <me@hwgnd.de>2023-04-10 15:40:03 +0200
committerGitHub <noreply@github.com>2023-04-10 14:40:03 +0100
commit6a4bda60f2dfcc82fbccfca49d5c50a31f475596 (patch)
treeb0ce10bba3cc737d56b2844a2d16f580b1f34d1f /src/managers/KeybindManager.hpp
parent16d05a5c8bf06c1e945f90c8bae4131dea54c290 (diff)
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
Diffstat (limited to 'src/managers/KeybindManager.hpp')
-rw-r--r--src/managers/KeybindManager.hpp2
1 files changed, 2 insertions, 0 deletions
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);