=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/Attic/cmd-choose-client.c,v retrieving revision 1.32 retrieving revision 1.33 diff -c -r1.32 -r1.33 *** src/usr.bin/tmux/Attic/cmd-choose-client.c 2017/04/05 10:49:46 1.32 --- src/usr.bin/tmux/Attic/cmd-choose-client.c 2017/04/22 10:22:39 1.33 *************** *** 1,4 **** ! /* $OpenBSD: cmd-choose-client.c,v 1.32 2017/04/05 10:49:46 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: cmd-choose-client.c,v 1.33 2017/04/22 10:22:39 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott *************** *** 45,51 **** .args = { "F:t:", 0, 1 }, .usage = CMD_TARGET_WINDOW_USAGE " [-F format] [template]", ! .tflag = CMD_WINDOW, .flags = 0, .exec = cmd_choose_client_exec --- 45,51 ---- .args = { "F:t:", 0, 1 }, .usage = CMD_TARGET_WINDOW_USAGE " [-F format] [template]", ! .target = { 't', CMD_FIND_WINDOW, 0 }, .flags = 0, .exec = cmd_choose_client_exec *************** *** 59,68 **** cmd_choose_client_exec(struct cmd *self, struct cmdq_item *item) { struct args *args = self->args; ! struct client *c = item->state.c; struct client *c1; struct window_choose_data *cdata; ! struct winlink *wl = item->state.tflag.wl; const char *template; char *action; u_int idx, cur; --- 59,68 ---- cmd_choose_client_exec(struct cmd *self, struct cmdq_item *item) { struct args *args = self->args; ! struct client *c = cmd_find_client(item, NULL, 1); struct client *c1; struct window_choose_data *cdata; ! struct winlink *wl = item->target.wl; const char *template; char *action; u_int idx, cur;