diff options
author | nicm <nicm> | 2015-04-19 21:05:27 +0000 |
---|---|---|
committer | nicm <nicm> | 2015-04-19 21:05:27 +0000 |
commit | ee123c248951450100475717f5bd45f292d9bb4d (patch) | |
tree | 84a865000a9d0ba60d891114c88f6d36c283b5c3 /window.c | |
parent | 4a7587931ce54aa1a94a104480113d658c295b6b (diff) | |
download | rtmux-ee123c248951450100475717f5bd45f292d9bb4d.tar.gz rtmux-ee123c248951450100475717f5bd45f292d9bb4d.tar.bz2 rtmux-ee123c248951450100475717f5bd45f292d9bb4d.zip |
Support setting the default window and pane background colours (window
and active pane via window-style and window-active-style options, an
individual pane by a new select-pane -P flag). From J Raynor.
Diffstat (limited to 'window.c')
-rw-r--r-- | window.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -705,6 +705,8 @@ window_pane_create(struct window *w, u_int sx, u_int sy, u_int hlimit) wp->saved_grid = NULL; + memcpy(&wp->colgc, &grid_default_cell, sizeof wp->colgc); + screen_init(&wp->base, sx, sy, hlimit); wp->screen = &wp->base; |