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 /window.c | |
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 'window.c')
-rw-r--r-- | window.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -291,7 +291,7 @@ window_create1(u_int sx, u_int sy) w = xcalloc(1, sizeof *w); w->name = NULL; - w->flags = 0; + w->flags = WINDOW_STYLECHANGED; TAILQ_INIT(&w->panes); w->active = NULL; |