diff options
| author | Hilmar Wiegand <me@hwgnd.de> | 2023-04-10 21:07:49 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-10 20:07:49 +0100 |
| commit | 7b43f9f056358667302c17d3da04c20af1e12888 (patch) | |
| tree | 30f1416b0d3e46714aabe2e328188244eea471d4 /src/managers/KeybindManager.hpp | |
| parent | fa4aef4531d3ca138cc0c5a87768358fd5d7df7d (diff) | |
Implement window move (#2018)
Diffstat (limited to 'src/managers/KeybindManager.hpp')
| -rw-r--r-- | src/managers/KeybindManager.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/managers/KeybindManager.hpp b/src/managers/KeybindManager.hpp index f17a8058..cccdc696 100644 --- a/src/managers/KeybindManager.hpp +++ b/src/managers/KeybindManager.hpp @@ -26,8 +26,7 @@ struct SKeybind { bool shadowed = false; }; -enum eFocusWindowMode -{ +enum eFocusWindowMode { MODE_CLASS_REGEX = 0, MODE_TITLE_REGEX, MODE_ADDRESS, @@ -90,7 +89,7 @@ class CKeybindManager { void updateXKBTranslationState(); bool ensureMouseBindState(); - static bool tryMoveFocusToMonitorInDirection(const char&); + static bool tryMoveFocusToMonitor(CMonitor* monitor); // -------------- Dispatchers -------------- // static void killActive(std::string); @@ -109,6 +108,7 @@ class CKeybindManager { static void focusCurrentOrLast(std::string); static void centerWindow(std::string); static void moveActiveTo(std::string); + static void swapActive(std::string); static void toggleGroup(std::string); static void changeGroupActive(std::string); static void alterSplitRatio(std::string); |
