mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Merge branch 'obsd-master'
This commit is contained in:
6
window.c
6
window.c
@ -1887,11 +1887,15 @@ window_pane_get_fg_control_client(struct window_pane *wp)
|
||||
enum client_theme
|
||||
window_pane_get_theme(struct window_pane *wp)
|
||||
{
|
||||
struct window *w = wp->window;
|
||||
struct window *w;
|
||||
struct client *loop;
|
||||
enum client_theme theme;
|
||||
int found_light = 0, found_dark = 0;
|
||||
|
||||
if (wp == NULL)
|
||||
return (THEME_UNKNOWN);
|
||||
w = wp->window;
|
||||
|
||||
/*
|
||||
* Derive theme from pane background color, if it's not the default
|
||||
* colour.
|
||||
|
Reference in New Issue
Block a user