}
};
+struct LayoutState {
+ enum States {
+ LayoutSingle,
+ LayoutSplit,
+ };
+
+ enum States state;
+ int main;
+ int sub;
+};
+
struct App {
struct binding_api api;
struct controller_hooks chooks;
return this->id_alloc.lookup(id);
}
+ struct LayoutState state;
+
explicit App(wl::display *d);
~App();
void activate(unsigned id);
void deactivate(unsigned id);
+
+ bool can_split(unsigned new_id);
};
} // namespace wm