[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#23320: 25.0.92; Window width not updated after frame resize (Win32 a
From: |
martin rudalics |
Subject: |
bug#23320: 25.0.92; Window width not updated after frame resize (Win32 and GTK) |
Date: |
Fri, 22 Apr 2016 12:10:48 +0200 |
> I noticed a regression on 25.0.92 compared to 24.5 where the following code
> behaves differently on the w32 port. (On a recent GTK build it also
> misbehaves, but not under the NS port.)
>
> (progn
> (set-frame-size (selected-frame) 1000 400 t)
> (window-width nil t))
>
> On 24.5, this evaluates to "1000". However, on 25.0.92 `window-width'
> returns the width prior to the frame resize. (Evaluating it a second time
> returns 1000, though.)
>
> Adding `(sit-for 0)' before the call to `window-width' make is return 1000
> the first time, but it doesn't feel like a robust solution.
>
> Is this the expected behavior? If it is, is adding `(sit-for 0)' the
> recommended way to get the correct window width after a frame resize?
Should be fixed now. Please consider closing the bug after confirming.
And great many thanks for this report, martin
bug#23320: 25.0.92; Window width not updated after frame resize (Win32 and GTK),
martin rudalics <=