diff options
author | Alexander Gramiak <agrambot@gmail.com> | 2019-05-08 21:40:24 -0600 |
---|---|---|
committer | Alexander Gramiak <agrambot@gmail.com> | 2019-05-10 17:26:12 -0600 |
commit | 6bfc5fc6c4dfbed4b07528b64414fb04675cdf79 (patch) | |
tree | 5af86da74727a0de4eeb190d634aa7b172d42242 /src/dispextern.h | |
parent | 655634808ad3b324ab844c53006e648b45713364 (diff) | |
download | emacs-6bfc5fc6c4dfbed4b07528b64414fb04675cdf79.tar.gz |
Remove display member of glyph_string
This member has little value even on X, and it leaks internal backend
details to the glyph_string struct.
* src/dispextern.h (glyph_string): Remove X display member.
* src/xdisp.c (init_glyph_string): Remove initialization of display.
* src/xfont.c (xfont_draw):
* src/xterm.c: Use FRAME_X_DISPLAY (s->f) instead of display member.
Diffstat (limited to 'src/dispextern.h')
-rw-r--r-- | src/dispextern.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/dispextern.h b/src/dispextern.h index bb981f83fca..619f4c07675 100644 --- a/src/dispextern.h +++ b/src/dispextern.h @@ -1281,9 +1281,6 @@ struct glyph_string /* The window on which the glyph string is drawn. */ struct window *w; - /* X display and window for convenience. */ - Display *display; - /* The glyph row for which this string was built. It determines the y-origin and height of the string. */ struct glyph_row *row; |