Bug fix: border colour bug in the floating panes branch where inactive floating pane borders incorrectly use the active colour at intersections with tiled pane borders.

This commit is contained in:
Michael Grant
2026-06-01 22:57:46 +01:00
parent 70095ae49a
commit ac8b6410a7

View File

@@ -882,7 +882,9 @@ screen_redraw_draw_borders_style(struct screen_redraw_ctx *ctx, u_int x,
struct format_tree *ft; struct format_tree *ft;
int *flag; int *flag;
if (screen_redraw_check_is(ctx, x, y, active)) { if ((wp->flags & PANE_FLOATING && wp == active) ||
(!(wp->flags & PANE_FLOATING) && screen_redraw_check_is(ctx, x, y,
active))) {
flag = &wp->active_border_gc_set; flag = &wp->active_border_gc_set;
gc = &wp->active_border_gc; gc = &wp->active_border_gc;
border_option = "pane-active-border-style"; border_option = "pane-active-border-style";