aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index ef07e26..8081dbc 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -542,6 +542,8 @@ void windowmanager_wm_subscribe(afb_req req) noexcept
return;
}
afb_req_success(req, NULL, "success");
+
+ g_afb_instance->app.subscribeEventForApp(afb_req_get_application_id(req), req, event_name);
}
catch (std::exception &e)
{