changeset 48928:a9565e3d6e34

(try_cursor_movement): Don't call try_window here. (redisplay_window): Never redisplay minibuffer when inactive.
author Richard M. Stallman <rms@gnu.org>
date Sun, 22 Dec 2002 21:59:20 +0000
parents 148675770a17
children d81c005163cb
files src/xdisp.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Sun Dec 22 21:57:05 2002 +0000
+++ b/src/xdisp.c	Sun Dec 22 21:59:20 2002 +0000
@@ -10111,7 +10111,6 @@
 	      else
 		{
 		  set_cursor_from_row (w, row, w->current_matrix, 0, 0, 0, 0);
-		  try_window (window, startp);
 		  if (!make_cursor_line_fully_visible (w))
 		    rc = CURSOR_MOVEMENT_MUST_SCROLL;
 		  else
@@ -10194,7 +10193,8 @@
 	    /* We've already displayed the echo area glyphs in this window.  */
 	    goto finish_scroll_bars;
 	}
-      else if (w != XWINDOW (minibuf_window))
+      else if (w != XWINDOW (minibuf_window)
+	       || minibuf_level == 0)
 	{
 	  /* W is a mini-buffer window, but it's not the currently
 	     active one, so clear it.  */