changeset 57496:ad0659a2d52e

(x_draw_vertical_border): Undo last change. (redisplay_window): Only update fringes and vertical border on window frames.
author Kim F. Storm <storm@cua.dk>
date Fri, 15 Oct 2004 12:02:27 +0000
parents e5c1443a8c9c
children 0a4c356f307b
files src/xdisp.c
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Fri Oct 15 12:01:52 2004 +0000
+++ b/src/xdisp.c	Fri Oct 15 12:02:27 2004 +0000
@@ -12217,7 +12217,8 @@
     }
 
 #ifdef HAVE_WINDOW_SYSTEM
-  if (update_window_fringes (w, 0)
+  if (FRAME_WINDOW_P (f)
+      && update_window_fringes (w, 0)
       && !just_this_one_p
       && (used_current_matrix_p || overlay_arrow_seen)
       && !w->pseudo_window_p)
@@ -21634,9 +21635,6 @@
      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