comparison src/dispnew.c @ 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 26ec7360f078
children aa3b050f8a32
comparison
equal deleted inserted replaced
12408:67f759e94c3e 12409:6e374b28ecc3
1325 pause = (i < FRAME_HEIGHT (f) - 1) ? i : 0; 1325 pause = (i < FRAME_HEIGHT (f) - 1) ? i : 0;
1326 1326
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;
1336 1341
1337 if (cursor_in_echo_area < 0) 1342 if (cursor_in_echo_area < 0)