version 1.22, 2013/03/21 16:09:17 |
version 1.23, 2013/03/21 16:09:59 |
|
|
const char *template; |
const char *template; |
u_int i, match_flags; |
u_int i, match_flags; |
|
|
if (ctx->curclient == NULL) { |
if ((c = cmd_current_client(ctx)) == NULL) { |
ctx->error(ctx, "must be run interactively"); |
ctx->error(ctx, "no client available"); |
return (CMD_RETURN_ERROR); |
return (CMD_RETURN_ERROR); |
} |
} |
c = ctx->curclient; |
|
s = c->session; |
s = c->session; |
|
|
if ((wl = cmd_find_window(ctx, args_get(args, 't'), NULL)) == NULL) |
if ((wl = cmd_find_window(ctx, args_get(args, 't'), NULL)) == NULL) |