From ac8b6410a7afc27ad20bb755d91e98d0b1cf3115 Mon Sep 17 00:00:00 2001 From: Michael Grant Date: Mon, 1 Jun 2026 22:57:46 +0100 Subject: [PATCH] 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. --- screen-redraw.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/screen-redraw.c b/screen-redraw.c index 84d219d5..c3d8c7ea 100644 --- a/screen-redraw.c +++ b/screen-redraw.c @@ -882,7 +882,9 @@ screen_redraw_draw_borders_style(struct screen_redraw_ctx *ctx, u_int x, struct format_tree *ft; 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; gc = &wp->active_border_gc; border_option = "pane-active-border-style";