Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
48cf7030
Commit
48cf7030
authored
Jun 28, 1995
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
src/dispnew.c
src/dispnew.c
+8
-3
No files found.
src/dispnew.c
View file @
48cf7030
...
...
@@ -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
&&
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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment