emacs-devel
[Top][All Lists]
Advanced

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

Re: emacs-27 c49d379: Fix some problems with moving and resizing child f


From: Dmitry Gutov
Subject: Re: emacs-27 c49d379: Fix some problems with moving and resizing child frames
Date: Wed, 8 Apr 2020 06:33:52 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1

Hi Martin,

On 06.04.2020 10:24, Martin Rudalics wrote:
+
+      if (totalwidth != gwidth || totalheight != gheight)
+       {

Speaking of this optimization, can we make it apply to 'resize-mode' child frames too?

I've been doing some testing, and in certain situations, the value 'hide' actually seems more performant when the size doesn't need to be changed. This largely makes a difference when, at random times, the child frame takes ~100ms to resize (which corresponds to the value of x-wait-for-event-timeout).

The attached patch seems to help.

Attachment: speedup_childframe_resizing.diff
Description: Text Data


reply via email to

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