Fix bug #11832 with truncated lines when fringes are disabled on GUI frames.
authorEli Zaretskii <eliz@gnu.org>
Sat, 7 Jul 2012 16:36:02 +0000 (19:36 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 7 Jul 2012 16:36:02 +0000 (19:36 +0300)
commit58dd0aa4c5a1e67d5b78a14e98b9da1a1433fbb4
tree6f388bcf243d9a45882532bd1e196604ca78c961
parent8a70567414af07cb4c12505c87c08b7a9b7de973
Fix bug #11832 with truncated lines when fringes are disabled on GUI frames.

 src/xdisp.c (init_iterator): Get dimensions of truncation and
 continuation glyphs even if on GUI frames.  Adjust
 it->last_visible_x on GUI frames when the left or right fringes,
 or both, are absent.
 (start_display, move_it_in_display_line_to): Handle the case of a
 GUI frame without a fringe to display continuation or truncation
 glyphs.
 (insert_left_trunc_glyphs): Support GUI frames: make sure
 truncation glyphs overwrite enough glyphs from the current line to
 have sufficient space in pixels.
 (display_line): Support truncation and continuation glyphs on GUI
 frames.  If some spare pixels are left on the line after inserting
 the truncation glyphs, fill that space with a stretch glyph of a
 suitably computed width.
 src/term.c (produce_special_glyphs): Call PRODUCE_GLYPHS, not
 produce_glyphs, to support GUI sessions.
src/ChangeLog
src/term.c
src/xdisp.c