[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] scratch/np/backports-26.2 e54624a 1/9: Don't wait for visi
From: |
Noam Postavsky |
Subject: |
[Emacs-diffs] scratch/np/backports-26.2 e54624a 1/9: Don't wait for visible frames to become visible |
Date: |
Sun, 3 Jun 2018 08:02:31 -0400 (EDT) |
branch: scratch/np/backports-26.2
commit e54624ab1acff582d51d1ab0398c410941f70883
Author: Noam Postavsky <address@hidden>
Commit: Noam Postavsky <address@hidden>
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 commits 2a192e21cf3b04b7f830b4971c1508c611e13a3c
and 00c1f771f2a51ffa675ec5a07ea330f2605cd302)
---
src/xterm.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/xterm.c b/src/xterm.c
index f6f2079..496effa 100644
--- 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);
}
}
- [Emacs-diffs] branch scratch/np/backports-26.2 created (now 2305ee7), Noam Postavsky, 2018/06/03
- [Emacs-diffs] scratch/np/backports-26.2 4491b27 2/9: Fix CHECK_ALLOCATED_AND_LIVE abort during GC, Noam Postavsky, 2018/06/03
- [Emacs-diffs] scratch/np/backports-26.2 09d0493 4/9: Centralize Bug#30931 fix, Noam Postavsky, 2018/06/03
- [Emacs-diffs] scratch/np/backports-26.2 e54624a 1/9: Don't wait for visible frames to become visible,
Noam Postavsky <=
- [Emacs-diffs] scratch/np/backports-26.2 0058ef3 6/9: Fix cl-print for circular sublists (Bug#31146), Noam Postavsky, 2018/06/03
- [Emacs-diffs] scratch/np/backports-26.2 9c78312 3/9: Fix another case of freed markers in the undo-list (Bug#30931), Noam Postavsky, 2018/06/03
- [Emacs-diffs] scratch/np/backports-26.2 c1a5546 7/9: * lisp/epa.el (epa-decrypt-file): Apply epa-pinentry-mode (Bug#30363)., Noam Postavsky, 2018/06/03
- [Emacs-diffs] scratch/np/backports-26.2 47ab98e 8/9: esh-opt.el: Fix improper parsing of first argument (Bug#28323), Noam Postavsky, 2018/06/03
- [Emacs-diffs] scratch/np/backports-26.2 2305ee7 9/9: Fix bug#30846, along with misc cleanups found along the way, Noam Postavsky, 2018/06/03
- [Emacs-diffs] scratch/np/backports-26.2 67f164a 5/9: Revert "Make mail-extract-address-components return the user name more", Noam Postavsky, 2018/06/03