aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-06-01 00:24:58 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-06-01 00:25:17 +0900
commit59edf2c3a8d4b246f5b06b163a307cfef0a57b25 (patch)
tree56c140fa801764434948a55cbfa3bba38f956943 /src/main.cpp
parent962293365db4ea2e11878c205e452844827338ab (diff)
subscribe error event for app
Change-Id: Ifdb55848f9039b411a9f514ef976866c8e160a54 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index ef07e26..8081dbc 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -542,6 +542,8 @@ void windowmanager_wm_subscribe(afb_req req) noexcept
return;
}
afb_req_success(req, NULL, "success");
+
+ g_afb_instance->app.subscribeEventForApp(afb_req_get_application_id(req), req, event_name);
}
catch (std::exception &e)
{