aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMiles Bader <[email protected]>2007-10-12 21:57:45 +0000
committerMiles Bader <[email protected]>2007-10-12 21:57:45 +0000
commit3e88ae627ef8d827b3f79e4e6f14aaad7adfe322 (patch)
tree345ac67c756cdd3e70c399f955c5f41be3795faa /src
parent985773c9038f9847f9e7362f3b5fb0c8acac13a2 (diff)
Fix non-window-system compilation
src/dispextern.h (struct glyph_row): Only define "clip" field if HAVE_WINDOW_SYSTEM is defined. Revision: [email protected]/emacs--unicode--0--patch-263
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog.unicode5
-rw-r--r--src/dispextern.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/src/ChangeLog.unicode b/src/ChangeLog.unicode
index 345890b36d..251de8f6bb 100644
--- a/src/ChangeLog.unicode
+++ b/src/ChangeLog.unicode
@@ -1,3 +1,8 @@
+2007-10-12 Miles Bader <[email protected]>
+
+ * src/dispextern.h (struct glyph_row): Only define "clip" field if
+ HAVE_WINDOW_SYSTEM is defined.
+
2007-10-12 Stefan Monnier <[email protected]>
Fix up multy-tty merge.
diff --git a/src/dispextern.h b/src/dispextern.h
index 1ba2955fcb..32ecee96f6 100644
--- a/src/dispextern.h
+++ b/src/dispextern.h
@@ -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
};