]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix display of boxed header-line
authorEli Zaretskii <eliz@gnu.org>
Thu, 9 Apr 2020 13:38:02 +0000 (16:38 +0300)
committerEli Zaretskii <eliz@gnu.org>
Thu, 9 Apr 2020 13:38:02 +0000 (16:38 +0300)
* src/xdisp.c (init_iterator): Set IT->face_box_p flag for a boxed
mode/header/tab line.  (Bug#40521)

src/xdisp.c

index cbdef7ad11821f54efc247f33d07a04f670c26e4..193cc372b0e5694dbcd6b8e3efa862f7ffee443a 100644 (file)
@@ -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,