summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/app.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app.cpp b/src/app.cpp
index 75df8d7..8aa7547 100644
--- a/src/app.cpp
+++ b/src/app.cpp
@@ -639,8 +639,8 @@ void App::activate(int id) {
this->controller->surfaces[id]->set_visibility(1);
char const *label =
this->lookup_name(id).value_or("unknown-name").c_str();
- this->emit_activated(label);
this->emit_visible(label);
+ this->emit_activated(label);
}
}