1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 16:51:06 -07:00

Another fix of display of line-prefix with fringe bitmaps

* src/xdisp.c (redisplay_internal): Don't use "optimization 1"
if a glyph row from which to start display begins with a display
property that draws into the fringes.  (Bug#41584)
This commit is contained in:
Eli Zaretskii 2020-05-29 23:02:10 +03:00
parent 187fe43108
commit f42db4b6e1

View file

@ -15566,6 +15566,12 @@ redisplay_internal (void)
if (it.current_x != this_line_start_x)
goto cancel;
/* Give up on this optimization if the line starts with a
string with display property that draws on the fringes,
as that might interfere with line-prefix display. */
if (it.sp > 1
&& it.method == GET_FROM_IMAGE && it.image_id == -1)
goto cancel;
redisplay_trace ("trying display optimization 1\n");
w->cursor.vpos = -1;
overlay_arrow_seen = false;