From: martin rudalics <rudalics@gmx.at>
To: Anders Lindgren <andlind@gmail.com>, 23320@debbugs.gnu.org
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 [thread overview]
Message-ID: <5719F8A8.3080107@gmx.at> (raw)
In-Reply-To: <CABr8ebbAUivQZaik+WpX6CZDuVRs5ck1EFnrB3JtPjZykxn=Kw@mail.gmail.com>
> 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
next prev parent reply other threads:[~2016-04-22 10:10 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-20 9:16 bug#23320: 25.0.92; Window width not updated after frame resize (Win32 and GTK) Anders Lindgren
2016-04-20 13:49 ` martin rudalics
2016-04-20 15:06 ` Eli Zaretskii
2016-04-21 9:15 ` martin rudalics
2016-04-21 14:19 ` Eli Zaretskii
2016-04-22 10:10 ` martin rudalics
2016-04-21 10:07 ` YAMAMOTO Mitsuharu
2016-04-22 10:10 ` martin rudalics
2016-04-22 10:10 ` martin rudalics [this message]
2016-07-01 6:13 ` martin rudalics
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5719F8A8.3080107@gmx.at \
--to=rudalics@gmx.at \
--cc=23320@debbugs.gnu.org \
--cc=andlind@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).