summaryrefslogtreecommitdiffstats
path: root/src/app.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.hpp')
-rw-r--r--src/app.hpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/app.hpp b/src/app.hpp
index 3e3a56e..fa26e39 100644
--- a/src/app.hpp
+++ b/src/app.hpp
@@ -131,11 +131,11 @@ struct App {
App &operator=(App &&) = delete;
int init();
- int init_layout();
+ int init_layers();
int dispatch_events();
- void surface_set_layout(uint32_t surface_id);
+ void surface_init_layout(uint32_t surface_id);
// Allocate a surface ID for this role
result<int> request_surface(char const *drawing_name);
@@ -154,6 +154,9 @@ struct App {
void emit_syncdraw(char const *label);
void emit_flushdraw(char const *label);
void emit_visible(char const *label, bool is_visible);
+
+ void activate(unsigned id);
+ void deactivate(unsigned id);
};
} // namespace wm