emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r108643: Optimization to avoid redisp


From: Chong Yidong
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r108643: Optimization to avoid redisplaying hidden terminal frames.
Date: Sun, 17 Jun 2012 18:11:39 +0800
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 108643
committer: Chong Yidong <address@hidden>
branch nick: trunk
timestamp: Sun 2012-06-17 18:11:39 +0800
message:
  Optimization to avoid redisplaying hidden terminal frames.
  
  * xdisp.c (redisplay_internal): No need to redisplay terminal
  frames that are not on top.
modified:
  src/ChangeLog
  src/xdisp.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2012-06-17 09:00:37 +0000
+++ b/src/ChangeLog     2012-06-17 10:11:39 +0000
@@ -1,3 +1,8 @@
+2012-06-17  Chong Yidong  <address@hidden>
+
+       * xdisp.c (redisplay_internal): No need to redisplay terminal
+       frames that are not on top.
+
 2012-06-17  Troels Nielsen  <address@hidden>
 
        * process.c (make_process): Initialize write_queue.

=== modified file 'src/xdisp.c'
--- a/src/xdisp.c       2012-06-16 12:24:15 +0000
+++ b/src/xdisp.c       2012-06-17 10:11:39 +0000
@@ -13317,6 +13317,12 @@
        {
          struct frame *f = XFRAME (frame);
 
+         /* We don't have to do anything for unselected terminal
+            frames.  */
+         if ((FRAME_TERMCAP_P (f) || FRAME_MSDOS_P (f))
+             && !EQ (FRAME_TTY (f)->top_frame, frame))
+           continue;
+
          if (FRAME_WINDOW_P (f) || FRAME_TERMCAP_P (f) || f == sf)
            {
              if (! EQ (frame, selected_frame))


reply via email to

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