On Mon Apr 22 12:49:32 2024 +0000, Rémi Bernon wrote:
changed this line in [version 5 of the diff](/wine/wine/-/merge_requests/5422/diffs?diff_id=110599&start_sha=85e47ab3c9bc90d4d99bf57e14d281ce06b16d22#85770a8b187bd82db4dbb9a2b8a5f34616049d0f_1338_1338)
I don't think that an adapter source being enumerated necessarily means that you can enable it. ChangeDisplaySettings may fail already with the current code, for various reasons.
Ultimately, with full display device virtualization in mind, I think it will be interesting to keep both these physical / virtual sources. Instead of a winecfg switch, I can imagine display devices being virtualized dynamically from a physical output to a dedicated window, or de-virtualized from a window to a physical source.