summaryrefslogtreecommitdiffstats
path: root/window-tree.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2021-10-20 14:01:15 +0100
committerThomas Adam <thomas@xteddy.org>2021-10-20 14:01:15 +0100
commit1bf2f811ea8835dd24bdb773b5be4df517767d1f (patch)
tree0c9b68c65c797a0cb14fb9dbf8a34f4dfa299e2c /window-tree.c
parent65bb36d6bdec631cbab33ae6896e1dad29a8fffe (diff)
parentacba07629ebf2dc2f0c316f110493e720b30757c (diff)
Merge branch 'obsd-master' into master
Diffstat (limited to 'window-tree.c')
-rw-r--r--window-tree.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/window-tree.c b/window-tree.c
index c41c91af..77011ea2 100644
--- a/window-tree.c
+++ b/window-tree.c
@@ -519,7 +519,8 @@ window_tree_draw_label(struct screen_write_ctx *ctx, u_int px, u_int py,
if (ox > 1 && ox + len < sx - 1 && sy >= 3) {
screen_write_cursormove(ctx, px + ox - 1, py + oy - 1, 0);
- screen_write_box(ctx, len + 2, 3, BOX_LINES_DEFAULT, NULL);
+ screen_write_box(ctx, len + 2, 3, BOX_LINES_DEFAULT, NULL,
+ NULL);
}
screen_write_cursormove(ctx, px + ox, py + oy, 0);
screen_write_puts(ctx, gc, "%s", label);