14 Mar
2024
14 Mar
'24
8:08 a.m.
Zhiyi Zhang (@zhiyi) commented about dlls/win32u/sysparams.c:
return !IsRectEmpty( &monitor->rc_monitor ); }
+static BOOL is_monitor_primary( struct monitor *monitor ) +{ + struct adapter *adapter; + if (!(adapter = monitor->adapter)) return TRUE;
Let's add a comment about the virtual monitor doesn't have an adapter here as well. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5262#note_64682