Subject: bug#19972: Font size change doesn't update (window-total-width)

From: "Jan D." <[email-masked]>
Date: Mon, 2 Mar 2015 21:19:14 +0100

Hi.

2 mar 2015 kl. 20:52 skrev Eli Zaretskii <[email-masked]>:

>> Date: Mon, 02 Mar 2015 20:06:55 +0100
>> From: "Jan D." <[email-masked]>
>> CC: [email-masked], [email-masked]
>> 
>> Eli Zaretskii skrev 2015-03-02 18:56:
>>>> Date: Mon, 02 Mar 2015 18:42:56 +0100
>>>> From: "Jan D." <[email-masked]>
>>>> CC: [email-masked]
>>>> 
>>>> No, the window manager denies the original frame resize.  There is no
>>>> "resizing back".
>>> 
>>> Where in the code does this denial happen?
>> 
>> In the window manager code.
> 
> I meant where/how does Emacs know that its request to resize was
> denied?

When an X window is resized, it gets a ConfigureNotify event.  When the resize is denied, no event arrives.  That is why Emacs on X only considers ConfigureNotify as resizes.  If lisp code tries to resize, we make the request, but nothing is updated until we get a ConfigureNotify.

      Jan D.