-
Notifications
You must be signed in to change notification settings - Fork 188
Add support to sync Windows Theme with mintty #1305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Thanks for working this out. Initial comments: I’d keep the position of new attributes in sync in config.h and config.c initialisation, and place dark_theme after theme_file. Function name set_new_cfg is quite generic, handling only themes. Initialisation in winmain: Dynamic adaptation in winmain: I think this shouldn’t be checked continuously but hooked to a suitable Windows message like WM_WININICHANGE. Style: Please don’t remove empty lines where useful for structuring and keep some space after if, while, etc. |
…and add missing spaces after statements
Thank you for the review.
|
Hi, sorry for the delay. |
Sorry for the delay as well. You can go ahead and finish this PR, since some parts might require more knowledge of the system, and right now, unfortunately, I can't put in the time. As for the strategy, using the authorship seems more reasonable, since both of us would have worked on it. Thank you for your time. |
I have now integrated the dark mode theme with the following changes:
|
Released 3.7.8 with option ThemeDark, not yet in interactive Options dialog. |
As discussed in issue #1303, this PR allows Mintty to sync when the user changes the "app mode" in Windows 10/11.
A few points on my side: