projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fa73a7
)
Don't wait for visible frames to become visible
author
Noam Postavsky
<npostavs@gmail.com>
Thu, 29 Mar 2018 23:11:47 +0000
(19:11 -0400)
committer
Noam Postavsky
<npostavs@gmail.com>
Sun, 3 Jun 2018 16:48:13 +0000
(12:48 -0400)
For discussion, see thread starting at
https://lists.gnu.org/archive/html/emacs-devel/2018-03/msg00807.html.
* src/xterm.c (x_make_frame_visible): Check FRAME_VISIBLE_P before
calling x_wait_for_event.
(cherry picked from commits
2a192e21cf3b04b7f830b4971c1508c611e13a3c
and
00c1f771f2a51ffa675ec5a07ea330f2605cd302
)
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index f6f2079ec694da89be641c91114132d06651ee30..496effaf42a670c14b581303d020db91aa27b205 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-11548,7
+11548,8
@@
x_make_frame_visible (struct frame *f)
poll_for_input_1 ();
poll_suppress_count = old_poll_suppress_count;
#endif
- x_wait_for_event (f, MapNotify);
+ if (! FRAME_VISIBLE_P (f))
+ x_wait_for_event (f, MapNotify);
}
}