diff options
author | Kazumasa Mitsunari <knimitz@witz-inc.co.jp> | 2018-10-18 20:19:57 +0900 |
---|---|---|
committer | Kazumasa Mitsunari <knimitz@witz-inc.co.jp> | 2018-10-26 16:07:03 +0900 |
commit | c2110a3ec8fa74f2fc37e4909db547aa4a36c851 (patch) | |
tree | 47bf7ffbe0a73b5c8eb10eb78f7b141c3cf50a7c /src/main.cpp | |
parent | 8342c421b5b5081ba74a3acbece962ab080b39ea (diff) |
Fix internal function name for consistency
Fix internal function name for consistency
Change-Id: Iff85e7ab246f863ff47d7312da627a2317479b56
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp index 34c5b6b..d0d7930 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -102,7 +102,7 @@ static void cbRemoveClientCtxt(void *data) // Policy Manager does not know this app was killed, // so notify it by deactivate request. - g_afb_instance->wmgr.api_deactivate_surface( + g_afb_instance->wmgr.api_deactivate_window( ctxt->name.c_str(), ctxt->role.c_str(), [](const char *) {}); @@ -251,7 +251,7 @@ void windowmanager_activatewindow(afb_req req) noexcept char* appid = afb_req_get_application_id(req); if(appid) { - g_afb_instance->wmgr.api_activate_surface( + g_afb_instance->wmgr.api_activate_window( appid, a_drawing_name, a_drawing_area, [&req](const char *errmsg) { if (errmsg != nullptr) @@ -294,7 +294,7 @@ void windowmanager_deactivatewindow(afb_req req) noexcept char* appid = afb_req_get_application_id(req); if(appid) { - g_afb_instance->wmgr.api_deactivate_surface( + g_afb_instance->wmgr.api_deactivate_window( appid, a_drawing_name, [&req](const char *errmsg) { if (errmsg != nullptr) |