Commit 2577053b authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(update_frame): Check that the echo area is in the frame being displayed.

parent acedc3e3
......@@ -1328,13 +1328,16 @@ update_frame (f, force, inhibit_hairy_id)
if (!pause)
if ((cursor_in_echo_area
&& EQ (FRAME_MINIBUF_WINDOW (f), minibuf_window))
/* If we are showing a message instead of the minibuffer,
show the cursor for the message instead of for the
(now hidden) minibuffer contents. */
|| (EQ (minibuf_window, selected_window)
&& EQ (minibuf_window, echo_area_window)
&& echo_area_glyphs != 0))
/* These cases apply only to the frame that contains
the active minibuffer window. */
&& EQ (FRAME_MINIBUF_WINDOW (f), minibuf_window))
int row, col;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment