mirror of
https://github.com/tmux/tmux.git
synced 2025-09-04 23:56:58 +00:00
Cache the window styles and do not look up the window-style options
unless they have changed.
This commit is contained in:
4
tmux.h
4
tmux.h
@ -943,10 +943,14 @@ struct window {
|
||||
#define WINDOW_ZOOMED 0x1000
|
||||
#define WINDOW_FORCEWIDTH 0x2000
|
||||
#define WINDOW_FORCEHEIGHT 0x4000
|
||||
#define WINDOW_STYLECHANGED 0x8000
|
||||
#define WINDOW_ALERTFLAGS (WINDOW_BELL|WINDOW_ACTIVITY|WINDOW_SILENCE)
|
||||
|
||||
struct options *options;
|
||||
|
||||
struct grid_cell style;
|
||||
struct grid_cell active_style;
|
||||
|
||||
u_int references;
|
||||
|
||||
RB_ENTRY(window) entry;
|
||||
|
Reference in New Issue
Block a user