]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_draw_vertical_border): Undo last change.
authorKim F. Storm <storm@cua.dk>
Fri, 15 Oct 2004 12:02:27 +0000 (12:02 +0000)
committerKim F. Storm <storm@cua.dk>
Fri, 15 Oct 2004 12:02:27 +0000 (12:02 +0000)
(redisplay_window): Only update fringes and vertical
border on window frames.

src/xdisp.c

index 1ddfc007f7f9d499d68f1afd10bb48d1981ec592..2f68207a1d1ab52b70b95209a61c992f12b2324f 100644 (file)
@@ -12217,7 +12217,8 @@ redisplay_window (window, just_this_one_p)
     }
 
 #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 @@ 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