diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/app.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/app.cpp b/src/app.cpp index 6a3e2e6..89b3f29 100644 --- a/src/app.cpp +++ b/src/app.cpp @@ -406,6 +406,8 @@ char const *App::activate_surface(char const *drawing_name) { /// // XXX: I am not sure I even need 5 elements... /// this->last_active.resize(std::min(int(this->last_active.size()), 5)); + this->emit_activated(drawing_name); + // no error return nullptr; } @@ -443,6 +445,8 @@ char const *App::deactivate_surface(char const *drawing_name) { return "Cannot deactivate surface (not active)"; } + this->emit_deactivated(drawing_name); + this->last_active.erase(is); if (! this->last_active.empty()) { |