=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/cmd-display-panes.c,v retrieving revision 1.8 retrieving revision 1.9 diff -c -r1.8 -r1.9 *** src/usr.bin/tmux/cmd-display-panes.c 2014/10/20 22:29:25 1.8 --- src/usr.bin/tmux/cmd-display-panes.c 2015/12/13 14:32:38 1.9 *************** *** 1,4 **** ! /* $OpenBSD: cmd-display-panes.c,v 1.8 2014/10/20 22:29:25 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: cmd-display-panes.c,v 1.9 2015/12/13 14:32:38 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott *************** *** 30,49 **** "display-panes", "displayp", "t:", 0, 0, CMD_TARGET_CLIENT_USAGE, ! 0, cmd_display_panes_exec }; enum cmd_retval ! cmd_display_panes_exec(struct cmd *self, struct cmd_q *cmdq) { ! struct args *args = self->args; ! struct client *c; ! ! if ((c = cmd_find_client(cmdq, args_get(args, 't'), 0)) == NULL) ! return (CMD_RETURN_ERROR); ! ! server_set_identify(c); return (CMD_RETURN_NORMAL); } --- 30,43 ---- "display-panes", "displayp", "t:", 0, 0, CMD_TARGET_CLIENT_USAGE, ! CMD_CLIENT_T, cmd_display_panes_exec }; enum cmd_retval ! cmd_display_panes_exec(__unused struct cmd *self, struct cmd_q *cmdq) { ! server_set_identify(cmdq->state.c); return (CMD_RETURN_NORMAL); }