From 50618cc30381521f0e16c7813d48d0e5c821a076 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Thu, 9 Apr 2020 16:38:02 +0300 Subject: [PATCH] Fix display of boxed header-line * src/xdisp.c (init_iterator): Set IT->face_box_p flag for a boxed mode/header/tab line. (Bug#40521) --- src/xdisp.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/xdisp.c b/src/xdisp.c index cbdef7ad118..193cc372b0e 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -3218,7 +3218,10 @@ init_iterator (struct it *it, struct window *w, with a left box line. */ face = FACE_FROM_ID_OR_NULL (it->f, remapped_base_face_id); if (face && face->box != FACE_NO_BOX) - it->start_of_box_run_p = true; + { + it->face_box_p = true; + it->start_of_box_run_p = true; + } } /* If a buffer position was specified, set the iterator there, -- 2.39.2