Qt5 applications draw a white close glyph on top of the toolbar button background for its Qt5QWindowIcon
window class. Before this patch, the toolbar button background was also white, so the close glyph was
not distinguishable from the background. On Windows 10, the toolbar button background has a light blue
color with transparency at the center, so let's make the center of the toolbar button background of
light.msstyles transparent as well.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/8730
@alexhenrie @zhiyi
The corresponding Windows test demo is as follows:
[test_DrawTextExW.exe](/uploads/ff1eafc9c58ac03b598699a93136484c/test_DrawTextExW.exe)
[test_DrawTextExW.c](/uploads/a41719a33c2ee0e057c911933bf55180/test_DrawTextExW.c)
Signed-off-by: chenjiangyi <chenjiangyi(a)uniontech.com>
Change-Id: I64052ba8aa8161ad83c1811d642aedbe462ef5ea
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/8177
I think we have tests which both explicitly set DIPROP_AUTOCENTER, and some which don't, and it seems that when it's not set the HID PID reports that are sent to the device are the same as when DIPROP_AUTOCENTER is set to `DIPROPAUTOCENTER_ON`.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/8605#note_112270
I would have liked to know if @TomaszPakula's programs were not setting any of the autocenter properties, and thus the brokeness was not the code that would set or unset autocenter but rather the default value.
I say this as it would seem to me if the program specifies `DIPROPAUTOCENTER_ON` or `DIPROPAUTOCENTER_OFF` then we would want to honor that. If it doesn't specify anything then that is a different story.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/8605#note_112268