binding: add ping() API call
[staging/windowmanager.git] / src / afb_binding_api.cpp
index d0df3b6..7e6aa89 100644 (file)
@@ -99,4 +99,9 @@ binding_api::result_type binding_api::debug_terminate() {
    return Ok(json_object_new_object());
 }
 
+binding_api::result_type binding_api::ping() {
+   this->app->dispatch_events();
+   return Ok(json_object_new_object());
+}
+
 }  // namespace wm