summaryrefslogtreecommitdiff
path: root/src/layout/MasterLayout.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-11-10 12:05:22 +0000
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-11-10 12:05:22 +0000
commit34b145ee65d1c851e42a38a63ef389e345577cb5 (patch)
tree6e39aa8d213c96ad762c93af26b4dadb06ef7b88 /src/layout/MasterLayout.hpp
parentf41fe59cb67e31c495008227d42060eebafe4c9e (diff)
Added resizing individual master windows
Diffstat (limited to 'src/layout/MasterLayout.hpp')
-rw-r--r--src/layout/MasterLayout.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/layout/MasterLayout.hpp b/src/layout/MasterLayout.hpp
index b67ac8d4..3e1744df 100644
--- a/src/layout/MasterLayout.hpp
+++ b/src/layout/MasterLayout.hpp
@@ -15,6 +15,8 @@ struct SMasterNodeData {
Vector2D position;
Vector2D size;
+ float percSize = 1.f; // size multiplier for resizing children
+
int workspaceID = -1;
bool operator==(const SMasterNodeData& rhs) {