Remove try_layout API
[apps/agl-service-windowmanager.git] / src / app.hpp
index f2cc8a1..80a9142 100644 (file)
@@ -270,8 +270,7 @@ struct App
     WMError setSurfaceSize(unsigned surface, const std::string& area);
     WMError changeCurrentState(unsigned req_num);
 
-    void
-    setTimer();
+    void setTimer();
     void stopTimer();
     void processNextRequest();
 
@@ -281,9 +280,6 @@ struct App
     void deactivate(int id);
 
     bool can_split(struct LayoutState const &state, int new_id);
-    void try_layout(struct LayoutState &state,
-                    struct LayoutState const &new_layout,
-                    std::function<void(LayoutState const &nl)> apply);
 
   private:
     std::unordered_map<std::string, struct compositor::rect> area2size;