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
441a127e
Commit
441a127e
authored
Jan 15, 1996
by
Richard M. Stallman
Browse files
(display_buffer_1): Don't deiconify the selected frame.
parent
a728aa90
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
src/window.c
src/window.c
+11
-2
No files found.
src/window.c
View file @
441a127e
...
...
@@ -1947,7 +1947,15 @@ before each command.")
return
window
;
}
/* Deiconify the frame containing the window WINDOW, then return WINDOW. */
/* Deiconify the frame containing the window WINDOW,
unless it is the selected frame;
then return WINDOW.
The reason for the exception for the selected frame
is that it seems better not to change the selected frames visibility
merely because of displaying a different buffer in it.
The deiconification is useful when a buffer gets shown in
another frame that you were not using lately. */
static
Lisp_Object
display_buffer_1
(
window
)
...
...
@@ -1956,7 +1964,8 @@ display_buffer_1 (window)
#ifdef MULTI_FRAME
FRAME_PTR
f
=
XFRAME
(
WINDOW_FRAME
(
XWINDOW
(
window
)));
FRAME_SAMPLE_VISIBILITY
(
f
);
if
(
FRAME_ICONIFIED_P
(
f
))
if
(
FRAME_ICONIFIED_P
(
f
)
&&
f
!=
selected_frame
)
Fmake_frame_visible
(
WINDOW_FRAME
(
XWINDOW
(
window
)));
#endif
return
window
;
...
...
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