aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2017-01-12 02:01:11 +0000
committerThomas Adam <thomas@xteddy.org>2017-01-12 02:01:11 +0000
commit4a768619251d19769765bd6ed0d58f0a8bfab235 (patch)
tree038566f9bbe7dc3db41b9e27ff65c9df4bd54746 /tmux.h
parent33ebb9ec39e175197b9a7ba7071aeea472f76e8b (diff)
parent9b6aeacdc0118d97c35e822c958e925f12b513ed (diff)
downloadrtmux-4a768619251d19769765bd6ed0d58f0a8bfab235.tar.gz
rtmux-4a768619251d19769765bd6ed0d58f0a8bfab235.tar.bz2
rtmux-4a768619251d19769765bd6ed0d58f0a8bfab235.zip
Merge branch 'obsd-master'
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/tmux.h b/tmux.h
index b109bffd..3f9cf724 100644
--- a/tmux.h
+++ b/tmux.h
@@ -862,11 +862,6 @@ struct window_pane {
TAILQ_HEAD(window_panes, window_pane);
RB_HEAD(window_pane_tree, window_pane);
-#define WINDOW_PANE_PALETTE_HAS(wp, c) \
- ((wp) != NULL && (wp)->palette != NULL && \
- ((c) < 0x100 || (c) & COLOUR_FLAG_256) && \
- (wp)->palette[(c) & 0xff] != 0)
-
/* Window structure. */
struct window {
u_int id;
@@ -2159,6 +2154,7 @@ void window_set_name(struct window *, const char *);
void window_remove_ref(struct window *);
void winlink_clear_flags(struct winlink *);
int winlink_shuffle_up(struct session *, struct winlink *);
+int window_pane_get_palette(const struct window_pane *, int);
/* layout.c */
u_int layout_count_cells(struct layout_cell *);