Commit 48cf7030 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(update_frame): Pretend cursor is in echo area

rather than put it in a minuffer hidden by the echo area.
parent c49b2b75
......@@ -1327,9 +1327,14 @@ update_frame (f, force, inhibit_hairy_id)
/* Now just clean up termcap drivers and set cursor, etc. */
if (!pause)
if (cursor_in_echo_area
&& EQ (FRAME_MINIBUF_WINDOW (f), minibuf_window))
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)
&& echo_area_glyphs != 0))
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