Commit 66b59304 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

winemac.drv: Take all online monitors into account when computing desktop rect.

parent 5400db15
......@@ -68,7 +68,7 @@ static void compute_desktop_rect(void)
uint32_t count, i;
desktop_rect = CGRectNull;
if (CGGetActiveDisplayList(ARRAY_SIZE(displayIDs), displayIDs, &count) != kCGErrorSuccess ||
if (CGGetOnlineDisplayList(ARRAY_SIZE(displayIDs), displayIDs, &count) != kCGErrorSuccess ||
!count)
{
displayIDs[0] = CGMainDisplayID();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment