https://bugs.winehq.org/show_bug.cgi?id=49500
--- Comment #10 from Nyxis vld10@yandex.ru --- (In reply to Rafał Mużyło from comment #9)
...taking a stab in the dark: in dlls/winex11.drv/xrandr.c in get_primary_rect after fallback label
above the loop that iterates crtcs, something like this *might* work:
if (!resources->ncrtc) { SetRect( &primary_rect, 0, 0, DisplayWidth (gdi_display, DefaultScreen( gdi_display )), DisplayHeight (gdi_display, DefaultScreen( gdi_display )) ); return primary_rect; }
I've git-cloned wine-5.12 and added this code right after this line: WARN("Primary is set to a disconnected XRandR output.\n");
It didn't work.
I'm performing regression test right now...