The branch, hooks has been updated via c6ac06cba8a9ab6871dcb82bb7a3c8d6b577ab8f (commit) from a0bb0810fdc381a6669de569d9e372e3cd42ed32 (commit)
- Log ----------------------------------------------------------------- commit c6ac06cba8a9ab6871dcb82bb7a3c8d6b577ab8f Author: Thomas Adam <tho...@xteddy.org> Commit: Thomas Adam <tho...@xteddy.org> Convert display-panes to use prepare flags --- cmd-display-panes.c | 10 ++-------- 1 files changed, 2 insertions(+), 8 deletions(-) diff --git a/cmd-display-panes.c b/cmd-display-panes.c index 9ce8971..f0fa197 100644 --- a/cmd-display-panes.c +++ b/cmd-display-panes.c @@ -30,20 +30,14 @@ const struct cmd_entry cmd_display_panes_entry = { "display-panes", "displayp", "t:", 0, 0, CMD_TARGET_CLIENT_USAGE, - 0, + CMD_PREP_CLIENT_T, 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); + server_set_identify(cmdq->state.c); return (CMD_RETURN_NORMAL); } ----------------------------------------------------------------------- Summary of changes: cmd-display-panes.c | 10 ++-------- 1 files changed, 2 insertions(+), 8 deletions(-) hooks/post-receive -- tmux ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ tmux-cvs mailing list tmux-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-cvs