Code Review
/
staging
/
windowmanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
doc: documentation update, more examples, some external links
[staging/windowmanager.git]
/
src
/
layout.hpp
diff --git
a/src/layout.hpp
b/src/layout.hpp
index
85ac30e
..
b7a3c28
100644
(file)
--- a/
src/layout.hpp
+++ b/
src/layout.hpp
@@
-26,17
+26,11
@@
namespace wm {
struct LayoutState {
namespace wm {
struct LayoutState {
- enum States {
- Single,
- Split,
- };
-
- enum States s{Single};
int main{-1};
int sub{-1};
bool operator==(const LayoutState &b) const {
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 {
}
bool operator!=(const LayoutState &b) const {