diff options
author | 2016-05-30 09:50:20 +0000 | |
---|---|---|
committer | 2016-05-30 09:50:20 +0000 | |
commit | 0949c96ca3d0c983f5ebc1a601e0489ce06e884e (patch) | |
tree | b5e24c3384a33ddc868805d3d7a006d884e07a1b /usr.bin/tmux/tmux.h | |
parent | Do not draw character to screen if it has not changed, and do not save (diff) | |
download | wireguard-openbsd-0949c96ca3d0c983f5ebc1a601e0489ce06e884e.tar.xz wireguard-openbsd-0949c96ca3d0c983f5ebc1a601e0489ce06e884e.zip |
Cache the window styles and do not look up the window-style options
unless they have changed.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r-- | usr.bin/tmux/tmux.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h index 233cb20f987..7eb74f75bde 100644 --- a/usr.bin/tmux/tmux.h +++ b/usr.bin/tmux/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.631 2016/05/27 17:05:42 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.632 2016/05/30 09:50:20 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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; |