aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1995-06-28 09:38:18 +0000
committerRichard M. Stallman1995-06-28 09:38:18 +0000
commit48cf7030fc311579ca7aeb7cd86b726487918205 (patch)
treed7c185a16e136f4141e26c881d3bf92b3072b382 /src
parentc49b2b754c0119eb74dac79a7c13ea5ec7b5856f (diff)
downloademacs-48cf7030fc311579ca7aeb7cd86b726487918205.tar.gz
emacs-48cf7030fc311579ca7aeb7cd86b726487918205.zip
(update_frame): Pretend cursor is in echo area
rather than put it in a minuffer hidden by the echo area.
Diffstat (limited to 'src')
-rw-r--r--src/dispnew.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index 48d5fd04f3d..953527b4377 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -1327,9 +1327,14 @@ update_frame (f, force, inhibit_hairy_id)
1327 /* Now just clean up termcap drivers and set cursor, etc. */ 1327 /* Now just clean up termcap drivers and set cursor, etc. */
1328 if (!pause) 1328 if (!pause)
1329 { 1329 {
1330 if (cursor_in_echo_area 1330 if ((cursor_in_echo_area
1331 && FRAME_HAS_MINIBUF_P (f) 1331 && FRAME_HAS_MINIBUF_P (f)
1332 && EQ (FRAME_MINIBUF_WINDOW (f), minibuf_window)) 1332 && EQ (FRAME_MINIBUF_WINDOW (f), minibuf_window))
1333 /* If we are showing a message instead of the minibuffer,
1334 show the cursor for the message instead of for the
1335 (now hidden) minibuffer contents. */
1336 || (EQ (minibuf_window, selected_window)
1337 && echo_area_glyphs != 0))
1333 { 1338 {
1334 int top = XINT (XWINDOW (FRAME_MINIBUF_WINDOW (f))->top); 1339 int top = XINT (XWINDOW (FRAME_MINIBUF_WINDOW (f))->top);
1335 int row, col; 1340 int row, col;