GNU bug report logs - #51404
Support system dark mode on Windows 10

Previous Next

Package: emacs;

Reported by: Vince Salvino <salvino <at> coderedcorp.com>

Date: Tue, 26 Oct 2021 06:58:02 UTC

Severity: wishlist

Full log


Message #63 received at 51404 <at> debbugs.gnu.org (full text, mbox):

From: Vince Salvino <salvino <at> coderedcorp.com>
To: "51404 <at> debbugs.gnu.org" <51404 <at> debbugs.gnu.org>
Cc: Eli Zaretskii <eliz <at> gnu.org>
Subject: RE: Support system dark mode on Windows 10
Date: Sun, 23 Jan 2022 00:00:32 +0000
[Message part 1 (text/plain, inline)]
Attached is a patch which listens to the OS settings change, to dynamically change light/dark GUI during runtime.

Disclaimer here, I am not actually a C nor Win32 developer. I am not currently happy with the g_hwnds[256] implementation - that is purely a sloppy hack as a proof of concept. There is probably a much better way to track the window handles (all outlined in the TODO comment). However, this works if anyone wants to play around with it.

Vince Salvino

[0002-Support-MS-Windows-light-dark-mode-theme-change-duri.patch (application/octet-stream, attachment)]

This bug report was last modified 2 years and 279 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.