From ed980b8cbb972accac00107922bea1dca0678d2a Mon Sep 17 00:00:00 2001 From: Kazumasa Mitsunari Date: Tue, 22 May 2018 19:42:21 +0900 Subject: 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 --- src/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main.cpp') 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()); -- cgit 1.2.3-korg