summaryrefslogtreecommitdiff
path: root/src/layout/DwindleLayout.hpp
diff options
context:
space:
mode:
authorthejch <66577496+thejch@users.noreply.github.com>2024-03-16 17:15:12 -0700
committerGitHub <noreply@github.com>2024-03-17 00:15:12 +0000
commit0387528c56c4d9faf93946cbc9426973de6ef61b (patch)
treeccf67ca0ceb71a8ce4c17743321e274ba044df69 /src/layout/DwindleLayout.hpp
parent0e87a08e15c023325b64920d9e1159f38a090695 (diff)
master: fix moving fullscreen workspace and remove duplicate code (#5131)
Diffstat (limited to 'src/layout/DwindleLayout.hpp')
-rw-r--r--src/layout/DwindleLayout.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/layout/DwindleLayout.hpp b/src/layout/DwindleLayout.hpp
index fc73540a..5ca90fcd 100644
--- a/src/layout/DwindleLayout.hpp
+++ b/src/layout/DwindleLayout.hpp
@@ -78,6 +78,7 @@ class CHyprDwindleLayout : public IHyprLayout {
int getNodesOnWorkspace(const int&);
void applyNodeDataToWindow(SDwindleNodeData*, bool force = false);
+ void calculateWorkspace(const int& ws);
SDwindleNodeData* getNodeFromWindow(CWindow*);
SDwindleNodeData* getFirstNodeOnWorkspace(const int&);
SDwindleNodeData* getClosestNodeOnWorkspace(const int&, const Vector2D&);
@@ -103,4 +104,4 @@ struct std::formatter<SDwindleNodeData*, CharT> : std::formatter<CharT> {
std::format_to(out, ", window: {:x}", node->pWindow);
return std::format_to(out, "]");
}
-}; \ No newline at end of file
+};