diff src/xdisp.c @ 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 232db85e3b89
children ad0659a2d52e
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