summaryrefslogtreecommitdiffstats
path: root/src/layout.hpp
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-09-12 11:29:38 +0200
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-09-12 11:29:38 +0200
commitef6f72786ab7c7791a0dce9b63412b04b9351ddb (patch)
tree2437c97a36e1babcefc1571a93a0207b5cadb756 /src/layout.hpp
parent6946f6008999f9aaffdbc3043afbfe17fe04fc49 (diff)
policy: add a simple policy stub, broke some layouting tho
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'src/layout.hpp')
-rw-r--r--src/layout.hpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/layout.hpp b/src/layout.hpp
index 85ac30e..b7a3c28 100644
--- a/src/layout.hpp
+++ b/src/layout.hpp
@@ -26,17 +26,11 @@
namespace wm {
struct LayoutState {
- enum States {
- Single,
- Split,
- };
-
- enum States s{Single};
int main{-1};
int sub{-1};
bool operator==(const LayoutState &b) const {
- return s == b.s && main == b.main && sub == b.sub;
+ return main == b.main && sub == b.sub;
}
bool operator!=(const LayoutState &b) const {