aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-09-13 13:58:42 +0200
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-09-14 14:04:51 +0200
commitf7f02a664fc0438f00e6bd09797a3bf4184c123f (patch)
tree6451d8261a0c5f957ff2f72858e3c0c23c09d605
parent5710504a95125fdf504c80ca6c445218514633fb (diff)
app/afbclient: use the correct names for active/inactive events
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
-rw-r--r--client-lib/AFBClient.cpp4
-rw-r--r--src/app.cpp4
2 files changed, 4 insertions, 4 deletions
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<bool, AFBClient::EventType> 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) {