mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 15:45:00 +00:00
winemac.drv: Take all online monitors into account when computing desktop rect.
Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
5400db15ca
commit
66b593049c
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue