Opticos / GWSL-Source

The actual code for GWSL. And some prebuilt releases.
https://opticos.github.io/gwsl/
Other
1.16k stars 80 forks source link

Black title bar on windows dark theme #178

Open sh-shahrokhi opened 1 year ago

sh-shahrokhi commented 1 year ago

Hi,

This is a feature request to make title bars consistent with windows dark theme.

The current situation is like this:

image

The same app as windows native:

image

Thanks!

Pololot64 commented 1 year ago

Unfortunately, this is not something I can easily change. Feel free to look into apps like "Mica For Everyone" that lets you override this manually.

mentalisttraceur commented 2 months ago

You can also solve this with a registry edit and a reboot (and really, isn't that consistency with the greatest and darkest Windows theme of all? manual registry hacks and having to reboot the whole system for random minor changes to take effect):

image

I had to add that AccentColorInactive DWORD - it's a 32-bit ARGB color, so you have a lot of freedom with the color while you're at it. I use 0xFF202020, which I think looks pretty close to native (did you notice the registry editor title bar in the above screenshot isn't native? Registry Editor ignores dark theme and normally has a light inactive title bar just like VcXsrv, so you're seeing it here with the fix already active.)

(Credit to this article for originally teaching me this trick years ago, if I remember right - and if not, then credit to this article for re-teaching it to me today while I was trying to solve this exact problem again while setting up a new device.)