diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2023-02-19 21:07:32 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-19 21:07:32 +0000 |
| commit | e5a4c0c986f72813e8822f31ed3d5fa6be1b6c13 (patch) | |
| tree | 8ce0ad44055c63e905303f49da61c9f44316170a /src/layout/DwindleLayout.hpp | |
| parent | 2363cc2572c8b1f99a3ac5ff4104067b0503a302 (diff) | |
Group/Tab Rework (#1580)
Diffstat (limited to 'src/layout/DwindleLayout.hpp')
| -rw-r--r-- | src/layout/DwindleLayout.hpp | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/layout/DwindleLayout.hpp b/src/layout/DwindleLayout.hpp index 3c34287c..d0142ec7 100644 --- a/src/layout/DwindleLayout.hpp +++ b/src/layout/DwindleLayout.hpp @@ -19,10 +19,6 @@ struct SDwindleNodeData { bool splitTop = false; // for preserve_split - bool groupHead = false; - SDwindleNodeData* pNextGroupMember = nullptr; - SDwindleNodeData* pPreviousGroupMember = nullptr; - Vector2D position; Vector2D size; @@ -40,11 +36,6 @@ struct SDwindleNodeData { void recalcSizePosRecursive(bool force = false); void getAllChildrenRecursive(std::deque<SDwindleNodeData*>*); - bool isGroupMember(); - SDwindleNodeData* getGroupHead(); - SDwindleNodeData* getGroupVisible(); - int getGroupMemberCount(); - void setGroupFocusedNode(SDwindleNodeData*); CHyprDwindleLayout* layout = nullptr; }; @@ -62,6 +53,7 @@ class CHyprDwindleLayout : public IHyprLayout { virtual void switchWindows(CWindow*, CWindow*); virtual void alterSplitRatio(CWindow*, float, bool); virtual std::string getLayoutName(); + virtual void replaceWindowDataWith(CWindow* from, CWindow* to); virtual void onEnable(); virtual void onDisable(); @@ -75,10 +67,7 @@ class CHyprDwindleLayout : public IHyprLayout { SDwindleNodeData* getFirstNodeOnWorkspace(const int&); SDwindleNodeData* getMasterNodeOnWorkspace(const int&); - void toggleWindowGroup(CWindow*); - void switchGroupWindow(CWindow*, bool forward, CWindow* to = nullptr); void toggleSplit(CWindow*); - std::deque<CWindow*> getGroupMembers(CWindow*); friend struct SDwindleNodeData; }; |
