diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-20 17:31:48 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-20 17:31:48 +0000 |
commit | 4e4f71febb506fc83abb75ca163eca250ca4ac2a (patch) | |
tree | 0b8f32021f4f9df9cad773d456d1fd24e48bfb87 /cmd-send-prefix.c | |
parent | 9798dcd4dfa481eb28096a637f5b555a12354ad8 (diff) | |
download | rtmux-4e4f71febb506fc83abb75ca163eca250ca4ac2a.tar.gz rtmux-4e4f71febb506fc83abb75ca163eca250ca4ac2a.tar.bz2 rtmux-4e4f71febb506fc83abb75ca163eca250ca4ac2a.zip |
Swap in new paste buffer code and add a couple more commands.
Diffstat (limited to 'cmd-send-prefix.c')
-rw-r--r-- | cmd-send-prefix.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cmd-send-prefix.c b/cmd-send-prefix.c index 955dbc12..5751a44b 100644 --- a/cmd-send-prefix.c +++ b/cmd-send-prefix.c @@ -1,4 +1,4 @@ -/* $Id: cmd-send-prefix.c,v 1.16 2008-06-19 22:04:02 nicm Exp $ */ +/* $Id: cmd-send-prefix.c,v 1.17 2008-06-20 17:31:48 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -49,7 +49,8 @@ cmd_send_prefix_exec(struct cmd *self, struct cmd_ctx *ctx) if ((wl = cmd_find_window(ctx, data->target, &s)) == NULL) return; - window_key(wl->window, options_get_key(&s->options, "prefix")); + window_key( + wl->window, ctx->curclient, options_get_key(&s->options, "prefix")); if (ctx->cmdclient != NULL) server_write_client(ctx->cmdclient, MSG_EXIT, NULL, 0); |