layers/app: properly remove surfs, deactivate main_surface
[staging/windowmanager.git] / src / app.hpp
index c12654d..71bc2c2 100644 (file)
@@ -163,6 +163,7 @@ private:
    int init_layers();
 
    void surface_set_layout(int surface_id, optional<int> sub_surface_id = nullopt);
+   void layout_commit();
 
    // TMC WM Events to clients
    void emit_activated(char const *label);
@@ -175,6 +176,7 @@ private:
 
    void activate(int id);
    void deactivate(int id);
+   void deactivate_main_surface();
 
    bool can_split(struct LayoutState const &state, int new_id);
 };