1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-03 04:21:28 -08:00

Fix non-window-system compilation

src/dispextern.h (struct glyph_row): Only define "clip" field if
HAVE_WINDOW_SYSTEM is defined.

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-263
This commit is contained in:
Miles Bader 2007-10-12 21:57:45 +00:00
parent 985773c903
commit 3e88ae627e
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2007-10-12 Miles Bader <miles@gnu.org>
* src/dispextern.h (struct glyph_row): Only define "clip" field if
HAVE_WINDOW_SYSTEM is defined.
2007-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
Fix up multy-tty merge.

View file

@ -853,9 +853,11 @@ struct glyph_row
/* Continuation lines width at the start of the row. */
int continuation_lines_width;
#ifdef HAVE_WINDOW_SYSTEM
/* Non-NULL means the current clipping area. This is temporarily
set while exposing a region. Coordinates are frame-relative. */
XRectangle *clip;
#endif
};