mirror of
https://github.com/tmux/tmux.git
synced 2026-06-03 16:46:18 +00:00
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. From Michael Grant.
This commit is contained in:
@@ -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";
|
||||||
|
|||||||
Reference in New Issue
Block a user