Zhiyi Zhang (@zhiyi) commented about dlls/win32u/sysparams.c:
> struct monitor *monitor;
> struct gpu *gpu;
>
> - if (list_head( &monitors ) == &virtual_monitor.entry)
Please don't add irrelevant changes in the same commit. If you want to fix explorer.exe not starting up with a user-specified resolution, focus on that.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/6150#note_77119
Adding PSN_QUERYINITIALFOCUS helped fix some focus issues with the property sheet in bug 54862. Previously the listview in the tab control did not get focus from the start when it should have.
--
v4: comctl32/tests: Add test for PSN_QUERYINITIALFOCUS for the propsheet.
comctl32: Add handling for PSN_QUERYINITIALFOCUS in prop.c.
https://gitlab.winehq.org/wine/wine/-/merge_requests/6145
On Thu Jul 25 23:39:50 2024 +0000, Fabian Maurer wrote:
> Why do you remove all that virtual source logic? I mean, I'm not an
> export, but it looks off.
virtual_source should remove,2 reason
in function is_monitor_active
`
static BOOL is_monitor_active( struct monitor *monitor ) { struct source *source; /* services do not have any adapters, only a virtual monitor */ if (!(source = monitor->source)) return TRUE; if (!(source->state_flags & DISPLAY_DEVICE_ATTACHED_TO_DESKTOP)) return FALSE; return !IsRectEmpty( &monitor->rc_monitor ); }
`
virual_monitor do not need source.
virtual monitor is a temporary setting,should not write registry, It is a feature only for wine, so have no effect for global setting.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/6150#note_77094
Example with gcc and -O3 maximum optimization flag.
Before:
![screen_before](/uploads/d02727ad61da60e320d25e86bd0457ff/screen_before.jpg)
After:
![screen_after](/uploads/bae74909dd904232b2dc8cced7028036/screen_after.jpg)
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/6159