From 2c9977101d257edd62b2fb2fa7fabb541efc6698 Mon Sep 17 00:00:00 2001 From: Marcus Fritzsch Date: Tue, 12 Sep 2017 11:29:29 +0200 Subject: app/layout: fix split layout from and to transitions Signed-off-by: Marcus Fritzsch --- src/app.hpp | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'src/app.hpp') diff --git a/src/app.hpp b/src/app.hpp index c4c0a81..c8ea01b 100644 --- a/src/app.hpp +++ b/src/app.hpp @@ -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; -- cgit 1.2.3-korg