Commit 96a313a1 authored by Chong Yidong's avatar Chong Yidong

Optimization to avoid redisplaying hidden terminal frames.

* xdisp.c (redisplay_internal): No need to redisplay terminal
frames that are not on top.
parent 20ca2e94
2012-06-17 Chong Yidong <cyd@gnu.org>
* xdisp.c (redisplay_internal): No need to redisplay terminal
frames that are not on top.
2012-06-17 Troels Nielsen <bn.troels@gmail.com>
* process.c (make_process): Initialize write_queue.
......
......@@ -13317,6 +13317,12 @@ redisplay_internal (void)
{
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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment