version 1.673, 2016/10/18 08:46:43 |
version 1.674, 2016/10/19 09:22:07 |
|
|
#define WINDOW_STYLECHANGED 0x8000 |
#define WINDOW_STYLECHANGED 0x8000 |
#define WINDOW_ALERTFLAGS (WINDOW_BELL|WINDOW_ACTIVITY|WINDOW_SILENCE) |
#define WINDOW_ALERTFLAGS (WINDOW_BELL|WINDOW_ACTIVITY|WINDOW_SILENCE) |
|
|
|
int alerts_queued; |
|
TAILQ_ENTRY(window) alerts_entry; |
|
|
struct options *options; |
struct options *options; |
|
|
struct grid_cell style; |
struct grid_cell style; |
struct grid_cell active_style; |
struct grid_cell active_style; |
|
|
u_int references; |
u_int references; |
|
TAILQ_HEAD(, winlink) winlinks; |
|
|
RB_ENTRY(window) entry; |
RB_ENTRY(window) entry; |
}; |
}; |
|
|
/* Entry on local window list. */ |
/* Entry on local window list. */ |
struct winlink { |
struct winlink { |
int idx; |
int idx; |
|
struct session *session; |
struct window *window; |
struct window *window; |
|
|
size_t status_width; |
size_t status_width; |
|
|
#define WINLINK_ALERTFLAGS (WINLINK_BELL|WINLINK_ACTIVITY|WINLINK_SILENCE) |
#define WINLINK_ALERTFLAGS (WINLINK_BELL|WINLINK_ACTIVITY|WINLINK_SILENCE) |
|
|
RB_ENTRY(winlink) entry; |
RB_ENTRY(winlink) entry; |
|
TAILQ_ENTRY(winlink) wentry; |
TAILQ_ENTRY(winlink) sentry; |
TAILQ_ENTRY(winlink) sentry; |
}; |
}; |
RB_HEAD(winlinks, winlink); |
RB_HEAD(winlinks, winlink); |
|
|
|
|
#define SESSION_UNATTACHED 0x1 /* not attached to any clients */ |
#define SESSION_UNATTACHED 0x1 /* not attached to any clients */ |
#define SESSION_PASTING 0x2 |
#define SESSION_PASTING 0x2 |
|
#define SESSION_ALERTED 0x4 |
int flags; |
int flags; |
|
|
u_int attached; |
u_int attached; |
|
|
struct window *window_create_spawn(const char *, int, char **, const char *, |
struct window *window_create_spawn(const char *, int, char **, const char *, |
const char *, const char *, struct environ *, |
const char *, const char *, struct environ *, |
struct termios *, u_int, u_int, u_int, char **); |
struct termios *, u_int, u_int, u_int, char **); |
void window_destroy(struct window *); |
|
struct window_pane *window_get_active_at(struct window *, u_int, u_int); |
struct window_pane *window_get_active_at(struct window *, u_int, u_int); |
struct window_pane *window_find_string(struct window *, const char *); |
struct window_pane *window_find_string(struct window *, const char *); |
int window_has_pane(struct window *, struct window_pane *); |
int window_has_pane(struct window *, struct window_pane *); |