summaryrefslogtreecommitdiffstats
path: root/src/afb_binding_api.cpp
diff options
context:
space:
mode:
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);