diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/dispnew.c | 11 |
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; |