Skip to content
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

Foreground and background title bars are distinguishable #2497

Merged
merged 2 commits into from
Oct 27, 2024

Conversation

lededev
Copy link
Contributor

@lededev lededev commented Oct 27, 2024

Currently, with multiple WinMerge instances open, it’s difficult to identify the active window. This PR changes the title bar background color when the program loses focus, making it easier to spot the active window among multiple instances.
Before
屏幕截图 2024-10-27 214315
After
f20241027T215958
With colorful picture wallpaper, the distinction between the two backgrounds remains low. However, I believe color adjustments should not be decided by me, so I am only submitting the functional code.

@sdottaka sdottaka merged commit 9b2e966 into WinMerge:master Oct 27, 2024
3 checks passed
@sdottaka
Copy link
Member

Thank you for the PR.
I would prefer not to include MainFrm.h in MDITabBar.cpp if possible, so I may change it later so that it does not include MainFrm.h.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants