binding: ping() dispatches only pending events
[staging/windowmanager.git] / src / afb_binding_api.cpp
index 7e6aa89..41eed13 100644 (file)
@@ -100,7 +100,7 @@ binding_api::result_type binding_api::debug_terminate() {
 }
 
 binding_api::result_type binding_api::ping() {
-   this->app->dispatch_events();
+   this->app->dispatch_pending_events();
    return Ok(json_object_new_object());
 }