diff options
author | Tiago Cunha <tcunha@gmx.com> | 2009-11-04 22:44:01 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2009-11-04 22:44:01 +0000 |
commit | b7fc4f37603f01efa6984ca510d3378d7eae72a1 (patch) | |
tree | 795ca1181b172d13d98e67ce816641949bdf1a6e /tmux.h | |
parent | bbad75fb6c7344528c7f631c2daf09a87bab9744 (diff) | |
download | rtmux-b7fc4f37603f01efa6984ca510d3378d7eae72a1.tar.gz rtmux-b7fc4f37603f01efa6984ca510d3378d7eae72a1.tar.bz2 rtmux-b7fc4f37603f01efa6984ca510d3378d7eae72a1.zip |
Sync OpenBSD patchset 484:
If it isn't available explicitly, work out the current client in a similar way
to the current session - build a list of the possibilities then pick the
newest.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: tmux.h,v 1.494 2009-11-04 22:42:31 tcunha Exp $ */ +/* $Id: tmux.h,v 1.495 2009-11-04 22:44:01 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -1425,6 +1425,7 @@ int cmd_exec(struct cmd *, struct cmd_ctx *); void cmd_free(struct cmd *); size_t cmd_print(struct cmd *, char *, size_t); struct session *cmd_current_session(struct cmd_ctx *); +struct client *cmd_current_client(struct cmd_ctx *); struct client *cmd_find_client(struct cmd_ctx *, const char *); struct session *cmd_find_session(struct cmd_ctx *, const char *); struct winlink *cmd_find_window( |