https://bugs.winehq.org/show_bug.cgi?id=44055
--- Comment #21 from Gijs Vermeulen gijsvrm@gmail.com --- Created attachment 68197 --> https://bugs.winehq.org/attachment.cgi?id=68197 test patch
(In reply to Zebediah Figura from comment #20)
[1], see also [2]. If DwmIsCompositionEnabled() should check for Windows 8 in the manifest, then I think you'd just need to call GetVersion() and check for 8 or higher.
Though as I examine more closely, 6719bf2e03 checks for 8.1, not 8, so the manifest check may be necessary after all. Still, it should be relatively quite easy.
[1] https://source.winehq.org/git/wine.git/commitdiff/6719bf2e03
[2] https://www.winehq.org/pipermail/wine-devel/2019-October/152433.html
Is something like the attached patch good enough?