diff options
| author | memchr <118117622+memchr@users.noreply.github.com> | 2023-09-13 10:13:29 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-13 11:13:29 +0100 |
| commit | 6b1ac659e005042a6970ffc489aef71e0875af15 (patch) | |
| tree | ce0e73429f76dcd884d27cafdadfda51b925b57f /src/managers/KeybindManager.hpp | |
| parent | b0d5e4008b96f2cdbb6f6c2449c790d921d1546b (diff) | |
layout: add direction parameter to onWindowCreated and friends (#3269)
* feat(layout): add direction parameter to onWindowCreated and friends
In addition:
- Implement directional moveWindowOutOfGroup for `movewindoworgroup`
when using dwindle layout. (augmentation of #3006)
- Replace `DWindleLayout::OneTimeFocus` with `IHyprLayout::eDirection`.
- Slight formatting change (clang-format).
* fix: nullptr dereference in dwindle window creation
* refactor: generalized eDirection
* refactor: eliminate DIRECTION_NONE
* Update IHyprLayout.hpp
Diffstat (limited to 'src/managers/KeybindManager.hpp')
| -rw-r--r-- | src/managers/KeybindManager.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/KeybindManager.hpp b/src/managers/KeybindManager.hpp index 50a4321f..f0d39192 100644 --- a/src/managers/KeybindManager.hpp +++ b/src/managers/KeybindManager.hpp @@ -91,7 +91,7 @@ class CKeybindManager { bool ensureMouseBindState(); static bool tryMoveFocusToMonitor(CMonitor* monitor); - static void moveWindowOutOfGroup(CWindow* pWindow); + static void moveWindowOutOfGroup(CWindow* pWindow, const std::string& dir = ""); static void moveWindowIntoGroup(CWindow* pWindow, CWindow* pWindowInDirection); static void switchToWindow(CWindow* PWINDOWTOCHANGETO); |
