changeset 57494:33c31d1c5e22

(x_draw_vertical_border): Do nothing if non-window system.
author Kim F. Storm <storm@cua.dk>
date Fri, 15 Oct 2004 11:56:41 +0000
parents 3a10f8758700
children e5c1443a8c9c
files src/xdisp.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Fri Oct 15 11:56:26 2004 +0000
+++ b/src/xdisp.c	Fri Oct 15 11:56:41 2004 +0000
@@ -21634,6 +21634,9 @@
      windows (on either side) have...  But we don't :-(
      However, I think this works ok.  ++KFS 2003-04-25 */
 
+  if (!FRAME_WINDOW_P (XFRAME (w->frame)))
+    return;
+
   /* Redraw borders between horizontally adjacent windows.  Don't
      do it for frames with vertical scroll bars because either the
      right scroll bar of a window, or the left scroll bar of its