diff options
Diffstat (limited to 'src/app.hpp')
-rw-r--r-- | src/app.hpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/app.hpp b/src/app.hpp index b25f568..1950680 100644 --- a/src/app.hpp +++ b/src/app.hpp @@ -243,9 +243,10 @@ struct App { void emit_invisible(char const *label); void emit_visible(char const *label); - void do_allocate_window_resource(unsigned sequence_number); + bool do_allocate_window_resource(unsigned sequence_number); void do_enddraw(unsigned sequence_number); void process_request(); + void set_timer(); void activate(int id); void deactivate(int id); @@ -255,6 +256,12 @@ struct App { void try_layout(struct LayoutState &state, struct LayoutState const &new_layout, std::function<void(LayoutState const &nl)> apply); + + // The following function is temporary. + // Then will be removed when layermanager is finished + void lm_layout_change(unsigned req, const char* drawing_name); + void lm_enddraw(const char* drawing_name); + const char *check_surface_exist(unsigned req, const char *drawing_name); }; } // namespace wm |