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

dx: when filling an HWND target, use the actual background color #5848

Merged
merged 1 commit into from
May 11, 2020

Conversation

DHowett-MSFT
Copy link
Contributor

There is no guarantee that the HWND's backing color matches our expected
backing color.

This repairs the gutter in the WPF terminal.

There is no guarantee that the HWND's backing color matches our expected
backing color.
@DHowett-MSFT
Copy link
Contributor Author

@miniksa I know you strove to reduce or remove the differences between the hwnd and composition renderers.

An alternative would be to localize a change to the WPF terminal control that sets its window's background to the right color, but... AFAIK background color is per-class, not per-window.

@miniksa
Copy link
Member

miniksa commented May 11, 2020

@miniksa I know you strove to reduce or remove the differences between the hwnd and composition renderers.

An alternative would be to localize a change to the WPF terminal control that sets its window's background to the right color, but... AFAIK background color is per-class, not per-window.

Eh, no big deal. It's fine.

@DHowett-MSFT DHowett-MSFT changed the title dx: when filling an HWND target, use the requested background color dx: when filling an HWND target, use the actual background color May 11, 2020
@DHowett-MSFT DHowett-MSFT merged commit 177fd74 into master May 11, 2020
@DHowett-MSFT DHowett-MSFT deleted the dev/duhowett/wpf/gutter-fill branch May 11, 2020 20:54
DHowett-MSFT pushed a commit that referenced this pull request May 11, 2020
There is no guarantee that the HWND's backing color matches our expected
backing color.

This repairs the gutter in the WPF terminal.

(cherry picked from commit 177fd74)
DHowett-MSFT pushed a commit that referenced this pull request May 11, 2020
There is no guarantee that the HWND's backing color matches our expected
backing color.

This repairs the gutter in the WPF terminal.

(cherry picked from commit 177fd74)
jelster pushed a commit to jelster/terminal that referenced this pull request May 28, 2020
…rosoft#5848)

There is no guarantee that the HWND's backing color matches our expected
backing color.

This repairs the gutter in the WPF terminal.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants