[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Dark mode on Windows
From: |
Vince Salvino |
Subject: |
RE: Dark mode on Windows |
Date: |
Mon, 25 Oct 2021 05:20:43 +0000 |
I originally tried dynamically loading dwmapi.dll, and it cannot be done
dynamically. It will simply not load. I spent a lot of time head-scratching in
gdb to figure this out. From what I read, it behaves a bit differently than
other DLLs and has to be linked. This is also my first foray into Win32
programming, so I have exactly zero experience with any of this stuff, and
could be wrong.
Vince Salvino
-----Original Message-----
From: Po Lu <luangruo@yahoo.com>
Sent: Monday, October 25, 2021 12:28 AM
To: Vince Salvino <salvino@coderedcorp.com>
Cc: emacs-devel@gnu.org
Subject: Re: Dark mode on Windows
Vince Salvino <salvino@coderedcorp.com> writes:
> This is not a feature of emacs, rather it is a specific feature of
> Windows which is being supported (e.g. the window manager "chrome"
> around GUI emacs). Other operating systems have their own window
> managers, which actually are user-controllable, and would not require
> such a kludge in emacs :)
But in that case, the decorations can't be controlled on a per-frame basis.
This behaviour is desirable and could potentially drive people to use
proprietary operating systems.
> I have outlined ideas for this in the README.md in my fork. It would
> probably be possible to create a separate build profile, similar to NT
> vs Cygwin, etc. That is a bit beyond my skills, and I have no way of
> testing those systems.
If you find a solution, I can help test on Windows 9x. But first, is there any
reason `DwmSetWindowAttribute' can't be dynamically loaded, like many other
functions are on MS-Windows?
- Dark mode on Windows, Vince Salvino, 2021/10/24
- Re: Dark mode on Windows, Po Lu, 2021/10/24
- RE: Dark mode on Windows, Vince Salvino, 2021/10/25
- Re: Dark mode on Windows, Po Lu, 2021/10/25
- RE: Dark mode on Windows,
Vince Salvino <=
- Re: Dark mode on Windows, Po Lu, 2021/10/25
- Re: Dark mode on Windows, Eli Zaretskii, 2021/10/25
- RE: Dark mode on Windows, Vince Salvino, 2021/10/25
- Re: Dark mode on Windows, Eli Zaretskii, 2021/10/25
- Re: Dark mode on Windows, Eli Zaretskii, 2021/10/25
- Re: Dark mode on Windows, Eric S Fraga, 2021/10/25
Re: Dark mode on Windows, Alan Third, 2021/10/25
Re: Dark mode on Windows, Eli Zaretskii, 2021/10/25