summaryrefslogtreecommitdiffstats
path: root/src/layout.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/layout.hpp')
-rw-r--r--src/layout.hpp34
1 files changed, 19 insertions, 15 deletions
diff --git a/src/layout.hpp b/src/layout.hpp
index d5fd00c..d8c9b88 100644
--- a/src/layout.hpp
+++ b/src/layout.hpp
@@ -22,21 +22,25 @@
#include "result.hpp"
-namespace wm {
-
-struct LayoutState {
- int main{-1};
- int sub{-1};
-
- bool operator==(const LayoutState &b) const {
- return main == b.main && sub == b.sub;
- }
-
- bool operator!=(const LayoutState &b) const {
- return !(*this == b);
- }
+namespace wm
+{
+
+struct LayoutState
+{
+ int main{-1};
+ int sub{-1};
+
+ bool operator==(const LayoutState &b) const
+ {
+ return main == b.main && sub == b.sub;
+ }
+
+ bool operator!=(const LayoutState &b) const
+ {
+ return !(*this == b);
+ }
};
-} // namespace wm
+} // namespace wm
-#endif // TMCAGLWM_LAYOUT_HPP
+#endif // TMCAGLWM_LAYOUT_HPP