diff options
| author | memchr <118117622+memchr@users.noreply.github.com> | 2023-09-10 22:29:10 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-10 23:29:10 +0100 |
| commit | ac2f1a9c30cfe208478d8021cabb227ae9cb0c9f (patch) | |
| tree | 1c81f32f60832fcd386672677a3e753aea790c0a /src/managers/KeybindManager.hpp | |
| parent | 81661b49aac05055b7498471f44ae7aaa8e51fe7 (diff) | |
feat: add a new movewindoworgroup dispatcher (#3006)
Diffstat (limited to 'src/managers/KeybindManager.hpp')
| -rw-r--r-- | src/managers/KeybindManager.hpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/managers/KeybindManager.hpp b/src/managers/KeybindManager.hpp index af938c42..50a4321f 100644 --- a/src/managers/KeybindManager.hpp +++ b/src/managers/KeybindManager.hpp @@ -28,8 +28,7 @@ struct SKeybind { bool shadowed = false; }; -enum eFocusWindowMode -{ +enum eFocusWindowMode { MODE_CLASS_REGEX = 0, MODE_TITLE_REGEX, MODE_ADDRESS, @@ -92,6 +91,8 @@ class CKeybindManager { bool ensureMouseBindState(); static bool tryMoveFocusToMonitor(CMonitor* monitor); + static void moveWindowOutOfGroup(CWindow* pWindow); + static void moveWindowIntoGroup(CWindow* pWindow, CWindow* pWindowInDirection); static void switchToWindow(CWindow* PWINDOWTOCHANGETO); // -------------- Dispatchers -------------- // @@ -147,6 +148,8 @@ class CKeybindManager { static void moveIntoGroup(std::string); static void moveOutOfGroup(std::string); static void moveGroupWindow(std::string); + static void moveWindowOrGroup(std::string); + static void setIgnoreGroupLock(std::string); static void global(std::string); friend class CCompositor; |
