forked from Mirrors/wine-wine
user32: Change slave to a more neutral word.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>feature/deterministic
parent
9f2512d836
commit
2affb854e5
|
@ -3910,7 +3910,7 @@ static BOOL update_monitor_cache(void)
|
||||||
HANDLE mutex = NULL;
|
HANDLE mutex = NULL;
|
||||||
DWORD state_flags;
|
DWORD state_flags;
|
||||||
BOOL ret = FALSE;
|
BOOL ret = FALSE;
|
||||||
BOOL mirrored_slave;
|
BOOL is_replica;
|
||||||
DWORD i = 0, j;
|
DWORD i = 0, j;
|
||||||
DWORD type;
|
DWORD type;
|
||||||
|
|
||||||
|
@ -3956,17 +3956,17 @@ static BOOL update_monitor_cache(void)
|
||||||
(BYTE *)&monitors[monitor_count].rcMonitor, sizeof(RECT), NULL, 0 ))
|
(BYTE *)&monitors[monitor_count].rcMonitor, sizeof(RECT), NULL, 0 ))
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
/* Mirrored slave monitors also don't get enumerated */
|
/* Replicas in mirroring monitor sets don't get enumerated */
|
||||||
mirrored_slave = FALSE;
|
is_replica = FALSE;
|
||||||
for (j = 0; j < monitor_count; j++)
|
for (j = 0; j < monitor_count; j++)
|
||||||
{
|
{
|
||||||
if (EqualRect(&monitors[j].rcMonitor, &monitors[monitor_count].rcMonitor))
|
if (EqualRect(&monitors[j].rcMonitor, &monitors[monitor_count].rcMonitor))
|
||||||
{
|
{
|
||||||
mirrored_slave = TRUE;
|
is_replica = TRUE;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (mirrored_slave)
|
if (is_replica)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (!SetupDiGetDevicePropertyW( devinfo, &device_data, &WINE_DEVPROPKEY_MONITOR_RCWORK, &type,
|
if (!SetupDiGetDevicePropertyW( devinfo, &device_data, &WINE_DEVPROPKEY_MONITOR_RCWORK, &type,
|
||||||
|
|
Loading…
Reference in New Issue