]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_draw_vertical_border): Do nothing if non-window system.
authorKim F. Storm <storm@cua.dk>
Fri, 15 Oct 2004 11:56:41 +0000 (11:56 +0000)
committerKim F. Storm <storm@cua.dk>
Fri, 15 Oct 2004 11:56:41 +0000 (11:56 +0000)
src/xdisp.c

index cea16dcbcb55cf80b1f26e896ae85c00b7aab8fe..1ddfc007f7f9d499d68f1afd10bb48d1981ec592 100644 (file)
@@ -21634,6 +21634,9 @@ x_draw_vertical_border (w)
      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