Add an option (mouse-select-window) which allows the mouse to be used by

clicking on the status line, written by hsim at gmx dot li.
This commit is contained in:
Nicholas Marriott
2011-04-18 19:49:05 +00:00
parent 4e75e82cc3
commit 0bb2119781
5 changed files with 41 additions and 0 deletions

3
tmux.h
View File

@ -957,6 +957,8 @@ struct session {
struct environ environ;
int wlmouse;
int references;
TAILQ_ENTRY(session) gentry;
@ -1666,6 +1668,7 @@ int status_out_cmp(struct status_out *, struct status_out *);
RB_PROTOTYPE(status_out_tree, status_out, entry, status_out_cmp);
void status_free_jobs(struct status_out_tree *);
void status_update_jobs(struct client *);
void status_set_window_at(struct client *, u_int);
int status_redraw(struct client *);
char *status_replace(struct client *, struct session *,
struct winlink *, struct window_pane *, const char *, time_t, int);