https://bugs.winehq.org/show_bug.cgi?id=57610
--- Comment #23 from Zhiyi Zhang zzhang@codeweavers.com --- Eh, this is a strange one. Just like Rémi mentioned in comment #13, get_primary_rect() suddenly found a valid primary monitor when getting the current mode for the second monitor. However, from the logs in comment #21, after display enumeration, XRRGetOutputPrimary() still fails. I wonder what could cause that.