]> git.eshelyaron.com Git - emacs.git/commitdiff
(update_frame): Don't put cursor in echo area unless
authorKarl Heuer <kwzh@gnu.org>
Tue, 2 May 1995 02:18:34 +0000 (02:18 +0000)
committerKarl Heuer <kwzh@gnu.org>
Tue, 2 May 1995 02:18:34 +0000 (02:18 +0000)
the echo area is on this frame.

src/dispnew.c

index 60942dadba0659e27642086ac355fec29effab1c..356c7bbc34d3768cc591a44046e97d9664d479e8 100644 (file)
@@ -1326,7 +1326,8 @@ update_frame (f, force, inhibit_hairy_id)
   if (!pause)
     {
       if (cursor_in_echo_area
-         && FRAME_HAS_MINIBUF_P (f))
+         && FRAME_HAS_MINIBUF_P (f)
+         && EQ (FRAME_MINIBUF_WINDOW (f), minibuf_window))
        {
          int top = XINT (XWINDOW (FRAME_MINIBUF_WINDOW (f))->top);
          int row, col;