diff options
| author | Eli Zaretskii | 2012-07-07 19:36:02 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2012-07-07 19:36:02 +0300 |
| commit | 58dd0aa4c5a1e67d5b78a14e98b9da1a1433fbb4 (patch) | |
| tree | 6f388bcf243d9a45882532bd1e196604ca78c961 /src/coding.h | |
| parent | 8a70567414af07cb4c12505c87c08b7a9b7de973 (diff) | |
| download | emacs-58dd0aa4c5a1e67d5b78a14e98b9da1a1433fbb4.tar.gz emacs-58dd0aa4c5a1e67d5b78a14e98b9da1a1433fbb4.zip | |
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.
Diffstat (limited to 'src/coding.h')
0 files changed, 0 insertions, 0 deletions