Rémi Bernon (@rbernon) commented about dlls/win32u/sysparams.c:
- {
UINT left_edge, top_edge, right_edge, bottom_edge;
struct source *source;
UINT num, den;
RECT rect;
if (!(source = monitor->source))
{
SetRect( &rect, 0, 0, 1024, 768 );
info->rcWork = map_dpi_rect( rect, monitor_get_dpi( monitor, MDT_DEFAULT, &x, &y ), dpi );
}
else if (!(source->state_flags & DISPLAY_DEVICE_ATTACHED_TO_DESKTOP))
{
SetRectEmpty( &info->rcWork );
}
else
Could we use ~~`map_rect_raw_to_virt( monitor->rc_work, dpi )`~~ `map_monitor_rect( monitor, monitor->rc_work, 0, MDT_RAW_DPI, dpi, MDT_DEFAULT )` maybe?