Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam
2025-04-02 12:01:13 +01:00
5 changed files with 29 additions and 8 deletions

View File

@ -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.