Don't wait for visible frames to become visible
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 commits2a192e21cf
and00c1f771f2
)
This commit is contained in:
parent
5fa73a7d98
commit
71192e0b7e
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue