From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: "Yanchi Tóth" <yanchi.toth@gmail.com>
Cc: Eli Zaretskii <eliz@gnu.org>, 64846@debbugs.gnu.org
Subject: bug#64846: Emacs 29 RC on Windows: White background color flashes on startup, before background color from config takes effect on Windows
Date: Thu, 27 Jul 2023 20:45:08 +0800 [thread overview]
Message-ID: <87cz0dwmjv.fsf@yahoo.com> (raw)
In-Reply-To: <CAOE1KQPPV-4GxfuN5PxpFxxaJXZfP-LZdp+82Yo4aus=+tpCsA@mail.gmail.com> ("Yanchi Tóth"'s message of "Thu, 27 Jul 2023 12:25:44 +0200")
Yanchi Tóth <yanchi.toth@gmail.com> writes:
> It helps, but doesn't remove the bright flash altogether. Hard to
> tell, but I believe it shortens the time of the flash to just one
> frame. For comparison: 28.2 doesn't have any perceptible bright
> flash.
>
> I will have some time over the weekend to look at the code, but I
> haven't seen the Emacs codebase yet, so I might be taking more than I
> can handle. Can you give me any pointers where to look?
See w32fns.c (specifically, `w32_wnd_proc', which responds to
WM_ERASEBKGND messages), `get_frame_dc' in w32xfns.c (which creates the
back buffer), and w32term.c, where you will find a large table of
function pointers that implement the interfaces redisplay uses to draw
glyphs on MS Windows under the name `w32_redisplay_interface'.
I'm hardly an expert in MS Windows graphics, BTW. You likely know more
than I do.
Thanks.
prev parent reply other threads:[~2023-07-27 12:45 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-25 8:56 bug#64846: Emacs 29 RC on Windows: White background color flashes on startup, before background color from config takes effect on Windows Yanchi Tóth
2023-07-25 12:44 ` Eli Zaretskii
2023-07-25 13:32 ` Yanchi Tóth
2023-07-25 14:33 ` Eli Zaretskii
2023-07-26 8:32 ` Yanchi Tóth
2023-07-26 11:20 ` Eli Zaretskii
2023-07-26 12:35 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-07-27 10:25 ` Yanchi Tóth
2023-07-27 12:45 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
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=87cz0dwmjv.fsf@yahoo.com \
--to=bug-gnu-emacs@gnu.org \
--cc=64846@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=luangruo@yahoo.com \
--cc=yanchi.toth@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).