app/layout: fix split layout from and to transitions
[staging/windowmanager.git] / src / app.hpp
index c4c0a81..c8ea01b 100644 (file)
@@ -102,25 +102,6 @@ struct id_allocator {
    }
 };
 
-struct LayoutState {
-   enum States {
-      LayoutNone,  // Not useful...
-      LayoutSingle,
-      LayoutSplit,
-   };
-
-   enum States state{LayoutSingle};
-   int main{-1};
-   int sub{-1};
-
-   bool operator==(const LayoutState &b) const {
-      return state == b.state && main == b.main && sub == b.sub;
-   }
-   bool operator!=(const LayoutState &b) const {
-      return !(*this == b);
-   }
-};
-
 struct App {
    struct binding_api api;
    struct controller_hooks chooks;