help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Frame resize hook?


From: Lennart Borgman
Subject: Re: Frame resize hook?
Date: Thu, 23 Apr 2009 11:13:44 +0200

On Thu, Apr 23, 2009 at 10:55 AM, Juan Pedro Bolivar Puente
<magnicida@gmail.com> wrote:
> Lennart Borgman wrote:
>> On Thu, Apr 23, 2009 at 10:00 AM, Juan Pedro Bolivar Puente
>> <magnicida@gmail.com> wrote:
>>> Lennart Borgman wrote:
>>>> On Wed, Apr 22, 2009 at 8:02 PM, Nikolaj Schumacher <me@nschum.de> wrote:
>>>>> Juan Pedro Bolivar Puente <magnicida@gmail.com> wrote:
>>>>>
>>>>>> Any hints?
>>>>> The dirty way would be running a timer, checking if the window size
>>>>> changed, and redrawing then...
>>>> What about window-configuration-change-hook?
>>>>
>>>>
>>>>
>>> That hook is triggered on windows change, not a frame change.
>>
>> Yes, but a frame size change triggers windows changes. Does not that
>> happen for you?
>>
>>
>>
>
> Yes, but I get into infinite recursion and stack overflow as
> ecb-layout-redraw also changes window configuration :p

You have to protect against that by let-binding the hook.




reply via email to

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