Mercurial > emacs
changeset 12409:6e374b28ecc3
(update_frame): Pretend cursor is in echo area
rather than put it in a minuffer hidden by the echo area.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 28 Jun 1995 09:38:18 +0000 |
parents | 67f759e94c3e |
children | 1c02a5b45ae7 |
files | src/dispnew.c |
diffstat | 1 files changed, 8 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/dispnew.c Wed Jun 28 01:47:55 1995 +0000 +++ b/src/dispnew.c Wed Jun 28 09:38:18 1995 +0000 @@ -1327,9 +1327,14 @@ /* Now just clean up termcap drivers and set cursor, etc. */ if (!pause) { - if (cursor_in_echo_area - && FRAME_HAS_MINIBUF_P (f) - && EQ (FRAME_MINIBUF_WINDOW (f), minibuf_window)) + if ((cursor_in_echo_area + && FRAME_HAS_MINIBUF_P (f) + && 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 top = XINT (XWINDOW (FRAME_MINIBUF_WINDOW (f))->top); int row, col;