From 59edf2c3a8d4b246f5b06b163a307cfef0a57b25 Mon Sep 17 00:00:00 2001 From: Kazumasa Mitsunari Date: Fri, 1 Jun 2018 00:24:58 +0900 Subject: subscribe error event for app Change-Id: Ifdb55848f9039b411a9f514ef976866c8e160a54 Signed-off-by: Kazumasa Mitsunari --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) 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) { -- cgit 1.2.3-korg