summaryrefslogtreecommitdiffstats
path: root/cmd-new-session.c
diff options
context:
space:
mode:
authornicm <nicm>2016-10-16 22:06:40 +0000
committernicm <nicm>2016-10-16 22:06:40 +0000
commit41e633acf5d08cbd8976771bd2b74f14abda3969 (patch)
tree70b43438375ebfaf1cddab734b1913658ade661b /cmd-new-session.c
parentd15d54c2c8e6b95695169442eb2a27d814efc078 (diff)
Use the notify name string instead of going via an enum and change
existing hooks to use notifys instead.
Diffstat (limited to 'cmd-new-session.c')
-rw-r--r--cmd-new-session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-new-session.c b/cmd-new-session.c
index f6e728e4..ca0a1c17 100644
--- a/cmd-new-session.c
+++ b/cmd-new-session.c
@@ -281,7 +281,7 @@ cmd_new_session_exec(struct cmd *self, struct cmdq_item *item)
c->session = s;
server_client_set_key_table(c, NULL);
status_timer_start(c);
- notify_attached_session_changed(c);
+ notify_client("client-session-changed", c);
session_update_activity(s, NULL);
gettimeofday(&s->last_attached_time, NULL);
server_redraw_client(c);