aboutsummaryrefslogtreecommitdiffstats
path: root/src/afb_binding_api.cpp
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-11-01 11:00:08 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2017-11-01 11:00:08 +0000
commitc0f383d989821c61872aaa38932fa7719dc97120 (patch)
treea0a812ed805803cddb3c4c47abc711134f208130 /src/afb_binding_api.cpp
parent022def7c34eff5814ef9b5ba3bba7c7d8b869297 (diff)
parenteb7fc4eb593d723f1ac2ed4e5b523afd34e992ac (diff)
Merge "Add drawing_area parameter to API"
Diffstat (limited to 'src/afb_binding_api.cpp')
-rw-r--r--src/afb_binding_api.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/afb_binding_api.cpp b/src/afb_binding_api.cpp
index 9311700..b608a8a 100644
--- a/src/afb_binding_api.cpp
+++ b/src/afb_binding_api.cpp
@@ -42,9 +42,9 @@ binding_api::result_type binding_api::requestsurface(
}
binding_api::result_type binding_api::activatesurface(
- char const *drawing_name) {
+ char const *drawing_name, char const *drawing_area) {
logdebug("%s drawing_name %s", __func__, drawing_name);
- auto r = this->app->api_activate_surface(drawing_name);
+ auto r = this->app->api_activate_surface(drawing_name, drawing_area);
if (r != nullptr) {
logdebug("%s failed with error: %s", __func__, r);
return Err<json_object *>(r);