app/afbclient: use the correct names for active/inactive events
[staging/windowmanager.git] / src / app.cpp
index 240c7e4..3ee4379 100644 (file)
@@ -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) {