summaryrefslogtreecommitdiffstats
path: root/src/app.hpp
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-08-03 10:37:01 +0200
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-08-08 17:24:00 +0200
commit04c862b9957ea86959bd533cb1ac497ddb52759d (patch)
tree54a1e9d7718f340605727a08552d080037f1cc2e /src/app.hpp
parentccd8c4d8957c4a561ae1d2d9a53525fe2a4e4329 (diff)
app/api: add demo_activate_surface() api_binding
* Added "main_surface" entry to layers.json. * This surface is never made invisible by activate_surface(). Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'src/app.hpp')
-rw-r--r--src/app.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app.hpp b/src/app.hpp
index 3f899ce..9df1573 100644
--- a/src/app.hpp
+++ b/src/app.hpp
@@ -70,6 +70,7 @@ struct App {
int dispatch_events();
int init_layout();
void surface_set_layout(uint32_t surface_id);
+ char const *activate_surface(uint32_t surface_id);
void add_task(char const *name, std::function<void()> &&f);
void execute_pending();