diff options
author | nicm <nicm> | 2016-05-30 09:50:20 +0000 |
---|---|---|
committer | nicm <nicm> | 2016-05-30 09:50:20 +0000 |
commit | 1921fac814b98607031d975b69c6293a6227e274 (patch) | |
tree | 3b667b378aa05fd804395fb8424d6a03b587eb68 /tmux.h | |
parent | 36ab4c7c49d8ffbde113048acb8a6a05ceb00fdc (diff) | |
download | rtmux-1921fac814b98607031d975b69c6293a6227e274.tar.gz rtmux-1921fac814b98607031d975b69c6293a6227e274.tar.bz2 rtmux-1921fac814b98607031d975b69c6293a6227e274.zip |
Cache the window styles and do not look up the window-style options
unless they have changed.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; |