On Tue Aug 16 14:45:10 2022 +0000, Zhiyi Zhang wrote:
This changes the behavior of winemac.drv. winemac.drv supports additional DM_DISPLAYFLAGS and DM_DISPLAYFIXEDOUTPUT. Not comparing those fields when DM_DISPLAYFLAGS or DM_DISPLAYFIXEDOUTPUT is present will lose the application-specified mode settings.
This also means that in write_adapter_mode(), only valid fields should be written to the registry. And in read_adapter_mode(), valid fields should set relevant flags. Currently DM_DISPLAYFIXEDOUTPUT is not set in read_adapter_mode().