emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 511a18de: Fix slow redisplay when daemon frame exis


From: Eli Zaretskii
Subject: [Emacs-diffs] master 511a18de: Fix slow redisplay when daemon frame exists
Date: Thu, 01 Oct 2015 17:23:17 +0000

branch: master
commit 511a18ded332917b2df698be4d2c357eb2f270fd
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Fix slow redisplay when daemon frame exists
    
    * src/xdisp.c (redisplay_internal): Don't consider daemon frames
    when looking for frames that need to be redisplayed.  (Bug#21597)
---
 src/xdisp.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/xdisp.c b/src/xdisp.c
index a2a6a81..ce27af2 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -13388,6 +13388,8 @@ redisplay_internal (void)
 
   inhibit_free_realized_faces = false;
 
+  consider_some_frames_p = false;
+
   /* If face_change, init_iterator will free all realized faces, which
      includes the faces referenced from current matrices.  So, we
      can't reuse current matrices in this case.  */
@@ -13762,7 +13764,9 @@ redisplay_internal (void)
     {
       FOR_EACH_FRAME (tail, frame)
        {
-         if (XFRAME (frame)->redisplay && XFRAME (frame) != sf)
+         if (XFRAME (frame)->redisplay
+             && XFRAME (frame) != sf
+             && !FRAME_INITIAL_P (XFRAME (frame)))
            {
              consider_some_frames_p = true;
              break;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]