From: Marcus Fritzsch Date: Wed, 13 Sep 2017 11:58:42 +0000 (+0200) Subject: app/afbclient: use the correct names for active/inactive events X-Git-Tag: 4.99.1~13 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=staging%2Fwindowmanager.git;a=commitdiff_plain;h=f7f02a664fc0438f00e6bd09797a3bf4184c123f app/afbclient: use the correct names for active/inactive events Signed-off-by: Marcus Fritzsch --- diff --git a/client-lib/AFBClient.cpp b/client-lib/AFBClient.cpp index b7a7958..dc1c523 100644 --- a/client-lib/AFBClient.cpp +++ b/client-lib/AFBClient.cpp @@ -336,8 +336,8 @@ std::pair make_event_type(char const *et) { true, CONCAT(AFBClient::Event_, A)); \ } while (false) - ET("activated", Active); - ET("deactivated", Inactive); + ET("active", Active); + ET("inactive", Inactive); ET("visible", Visible); ET("invisible", Invisible); ET("syncdraw", SyncDraw); diff --git a/src/app.cpp b/src/app.cpp index 240c7e4..3ee4379 100644 --- a/src/app.cpp +++ b/src/app.cpp @@ -623,11 +623,11 @@ void App::surface_removed(uint32_t surface_id) { } void App::emit_activated(char const *label) { - this->api.send_event("activated", label); + this->api.send_event("active", label); } void App::emit_deactivated(char const *label) { - this->api.send_event("deactivated", label); + this->api.send_event("inactive", label); } void App::emit_syncdraw(char const *label) {