summaryrefslogtreecommitdiffstats
path: root/notify.c
diff options
context:
space:
mode:
authornicm <nicm>2021-03-16 09:14:58 +0000
committernicm <nicm>2021-03-16 09:14:58 +0000
commit8b800b41c98c37a270cea61e57d1f2702fd75293 (patch)
tree7a286753c567e479e390b7cfbf24a6b26e66e7e1 /notify.c
parent9017af23556abdc31ba37c925adf6e0f1bb12671 (diff)
Add client-detached notification in control mode, from Mohsin Kaleem.
Diffstat (limited to 'notify.c')
-rw-r--r--notify.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/notify.c b/notify.c
index a50eb264..c645657f 100644
--- a/notify.c
+++ b/notify.c
@@ -126,6 +126,8 @@ notify_callback(struct cmdq_item *item, void *data)
control_notify_window_renamed(ne->window);
if (strcmp(ne->name, "client-session-changed") == 0)
control_notify_client_session_changed(ne->client);
+ if (strcmp(ne->name, "client-detached") == 0)
+ control_notify_client_detached(ne->client);
if (strcmp(ne->name, "session-renamed") == 0)
control_notify_session_renamed(ne->session);
if (strcmp(ne->name, "session-created") == 0)