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

Fixed the wrong call of DwmSetWindowAttribute #12209

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

bmarques1995
Copy link

since it can't be called with the DWMWA_BORDER_COLOR parameter.
and it can only assumes two states, that can be set
flipping the first bit of the value oldPref.

Description

The dwma_border_color can only assume two values:

  • DWMWA_COLOR_NONE
  • DWMWA_COLOR_DEFAULT
    Where one can be achieved with ^ 0x00000001 with the other, and now the current state only flips the bits, which is the expected behavior

Existing Issue(s)

The problem is described in the issue #12206

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.

1 participant