aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-05-22 19:42:21 +0900
committerYuta Doi <yuta-d@witz-inc.co.jp>2018-05-25 17:11:25 +0900
commited980b8cbb972accac00107922bea1dca0678d2a (patch)
tree2c009e94c7d989cbae4cc6757c1710fe06a1ad53 /src/main.cpp
parent74c30fd86597fb6b5d13a83dea3341b9bb9e903e (diff)
Add new event
Add "screen_updated" event. This means new application is visible from the user. key ... "id" value ... application_id Change-Id: I548ba30f882d126d538b44281afa36625a1325e4 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 52a2ed4..63db741 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -373,8 +373,9 @@ void windowmanager_enddraw(afb_req req) noexcept {
return;
}
afb_req_success(req, NULL, "success");
+ char* appid = afb_req_get_application_id(req);
- g_afb_instance->app.api_enddraw(a_drawing_name);
+ g_afb_instance->app.api_enddraw(appid, a_drawing_name);
} catch (std::exception &e) {
HMI_WARNING("wm", "failed", "Uncaught exception while calling enddraw: %s", e.what());