diff options
| author | Niklas Haas <github-daiK1o@haasn.dev> | 2024-02-14 18:58:28 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-14 17:58:28 +0000 |
| commit | d5950f7719d3c9ec5305208265366df5ce81b6c3 (patch) | |
| tree | 266ce4c88f113b3b77601ce16cbf16f615411a25 /src/layout/DwindleLayout.hpp | |
| parent | 06087914807f88d2a9fc76c8108985f6327598de (diff) | |
dwindle: add swapsplit dispatcher (#4702)
This is distinct from `swapwindow` in that it allows swapping the entire
tree node with its neighbour.
Fixes: https://github.com/hyprwm/Hyprland/issues/4701
Diffstat (limited to 'src/layout/DwindleLayout.hpp')
| -rw-r--r-- | src/layout/DwindleLayout.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/layout/DwindleLayout.hpp b/src/layout/DwindleLayout.hpp index 780dd121..f5501b28 100644 --- a/src/layout/DwindleLayout.hpp +++ b/src/layout/DwindleLayout.hpp @@ -83,6 +83,7 @@ class CHyprDwindleLayout : public IHyprLayout { SDwindleNodeData* getMasterNodeOnWorkspace(const int&); void toggleSplit(CWindow*); + void swapSplit(CWindow*); eDirection overrideDirection = DIRECTION_DEFAULT; |
