summaryrefslogtreecommitdiffstats
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2015-09-14 11:34:50 +0000
committernicm <nicm>2015-09-14 11:34:50 +0000
commitaf16ce6ad9170e6a48e79e3af696f60daa2bae1d (patch)
tree740fb5b23280446e3143d2084362f01128474115 /tmux.h
parent16efa8483888e326aed2c05a01b63b45a2b118ef (diff)
When the active pane changes, redraw panes if the style has
changed. From Cam Hutchison.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index e5523418..5b1f0f33 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1983,6 +1983,8 @@ struct window_pane *window_get_active_at(struct window *, u_int, u_int);
struct window_pane *window_find_string(struct window *, const char *);
int window_has_pane(struct window *, struct window_pane *);
int window_set_active_pane(struct window *, struct window_pane *);
+void window_redraw_active_switch(struct window *,
+ struct window_pane *);
struct window_pane *window_add_pane(struct window *, u_int);
void window_resize(struct window *, u_int, u_int);
int window_zoom(struct window_pane *);
@@ -2210,5 +2212,7 @@ void style_apply(struct grid_cell *, struct options *,
const char *);
void style_apply_update(struct grid_cell *, struct options *,
const char *);
+int style_equal(const struct grid_cell *,
+ const struct grid_cell *);
#endif /* TMUX_H */