summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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) {