From d5950f7719d3c9ec5305208265366df5ce81b6c3 Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Wed, 14 Feb 2024 18:58:28 +0100 Subject: 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 --- src/layout/DwindleLayout.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/layout/DwindleLayout.hpp') 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; -- cgit v1.2.3