version 1.1164, 2022/03/08 18:31:47 |
version 1.1165, 2022/03/16 17:00:17 |
|
|
|
|
/* Window structure. */ |
/* Window structure. */ |
struct window { |
struct window { |
u_int id; |
u_int id; |
void *latest; |
void *latest; |
|
|
char *name; |
char *name; |
struct event name_event; |
struct event name_event; |
struct timeval name_time; |
struct timeval name_time; |
|
|
struct event alerts_timer; |
struct event alerts_timer; |
struct event offset_timer; |
struct event offset_timer; |
|
|
struct timeval activity_time; |
struct timeval activity_time; |
|
|
struct window_pane *active; |
struct window_pane *active; |
struct window_pane *last; |
struct window_pane *last; |
struct window_panes panes; |
struct window_panes panes; |
|
|
int lastlayout; |
int lastlayout; |
struct layout_cell *layout_root; |
struct layout_cell *layout_root; |
struct layout_cell *saved_layout_root; |
struct layout_cell *saved_layout_root; |
char *old_layout; |
char *old_layout; |
|
|
u_int sx; |
u_int sx; |
u_int sy; |
u_int sy; |
u_int manual_sx; |
u_int manual_sx; |
u_int manual_sy; |
u_int manual_sy; |
u_int xpixel; |
u_int xpixel; |
u_int ypixel; |
u_int ypixel; |
|
|
u_int new_sx; |
u_int new_sx; |
u_int new_sy; |
u_int new_sy; |
u_int new_xpixel; |
u_int new_xpixel; |
u_int new_ypixel; |
u_int new_ypixel; |
|
|
int flags; |
struct utf8_data *fill_character; |
|
int flags; |
#define WINDOW_BELL 0x1 |
#define WINDOW_BELL 0x1 |
#define WINDOW_ACTIVITY 0x2 |
#define WINDOW_ACTIVITY 0x2 |
#define WINDOW_SILENCE 0x4 |
#define WINDOW_SILENCE 0x4 |
|
|
#define WINDOW_RESIZE 0x20 |
#define WINDOW_RESIZE 0x20 |
#define WINDOW_ALERTFLAGS (WINDOW_BELL|WINDOW_ACTIVITY|WINDOW_SILENCE) |
#define WINDOW_ALERTFLAGS (WINDOW_BELL|WINDOW_ACTIVITY|WINDOW_SILENCE) |
|
|
int alerts_queued; |
int alerts_queued; |
TAILQ_ENTRY(window) alerts_entry; |
TAILQ_ENTRY(window) alerts_entry; |
|
|
struct options *options; |
struct options *options; |
|
|
u_int references; |
u_int references; |
TAILQ_HEAD(, winlink) winlinks; |
TAILQ_HEAD(, winlink) winlinks; |
|
|
RB_ENTRY(window) entry; |
RB_ENTRY(window) entry; |
}; |
}; |
RB_HEAD(windows, window); |
RB_HEAD(windows, window); |
|
|
|
|
struct window_pane_offset *, size_t *); |
struct window_pane_offset *, size_t *); |
void window_pane_update_used_data(struct window_pane *, |
void window_pane_update_used_data(struct window_pane *, |
struct window_pane_offset *, size_t); |
struct window_pane_offset *, size_t); |
|
void window_set_fill_character(struct window *); |
|
|
/* layout.c */ |
/* layout.c */ |
u_int layout_count_cells(struct layout_cell *); |
u_int layout_count_cells(struct layout_cell *); |