=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/cmd-new-session.c,v retrieving revision 1.40 retrieving revision 1.41 diff -c -r1.40 -r1.41 *** src/usr.bin/tmux/cmd-new-session.c 2012/02/02 00:10:11 1.40 --- src/usr.bin/tmux/cmd-new-session.c 2012/03/17 22:35:09 1.41 *************** *** 1,4 **** ! /* $OpenBSD: cmd-new-session.c,v 1.40 2012/02/02 00:10:11 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: cmd-new-session.c,v 1.41 2012/03/17 22:35:09 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 244,249 **** --- 244,250 ---- if (old_s != NULL) ctx->cmdclient->last_session = old_s; ctx->cmdclient->session = s; + notify_attached_session_changed(ctx->cmdclient); session_update_activity(s); server_redraw_client(ctx->cmdclient); } else { *************** *** 251,256 **** --- 252,258 ---- if (old_s != NULL) ctx->curclient->last_session = old_s; ctx->curclient->session = s; + notify_attached_session_changed(ctx->curclient); session_update_activity(s); server_redraw_client(ctx->curclient); }