mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-01 09:51:22 -08:00
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)
This commit is contained in:
parent
c4c1fb9772
commit
511a18ded3
1 changed files with 5 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue