summaryrefslogtreecommitdiff
path: root/src/layout/MasterLayout.hpp
diff options
context:
space:
mode:
authorMarcus Kellerman <sharkusk@users.noreply.github.com>2023-02-26 15:12:14 -0800
committerGitHub <noreply@github.com>2023-02-26 23:12:14 +0000
commit492f36f7dfe9a6c9b31989e9c0571b30c481c8ce (patch)
tree5eee0ee6337e85c114c4551bd5f723d08ba83d24 /src/layout/MasterLayout.hpp
parent2e21ad875bea2ed88c158db6128bc74bab9ac611 (diff)
Added center orientation to master layout (#1642)
* Added center orientation to master layout to improve experience on ultra widescreen monitors. * Added support for orientationcenter layout message for master layout * Added ability to optionally always center master window when in centered master mode.
Diffstat (limited to 'src/layout/MasterLayout.hpp')
-rw-r--r--src/layout/MasterLayout.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/layout/MasterLayout.hpp b/src/layout/MasterLayout.hpp
index 2e2746d3..315b82a2 100644
--- a/src/layout/MasterLayout.hpp
+++ b/src/layout/MasterLayout.hpp
@@ -14,7 +14,8 @@ enum eOrientation : uint8_t
ORIENTATION_LEFT = 0,
ORIENTATION_TOP,
ORIENTATION_RIGHT,
- ORIENTATION_BOTTOM
+ ORIENTATION_BOTTOM,
+ ORIENTATION_CENTER
};
struct SMasterNodeData {