Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
2affb854
Commit
2affb854
authored
Jun 16, 2020
by
Zhiyi Zhang
Committed by
Alexandre Julliard
Jun 17, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Change slave to a more neutral word.
Signed-off-by:
Zhiyi Zhang
<
zzhang@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
9f2512d8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
sysparams.c
dlls/user32/sysparams.c
+5
-5
No files found.
dlls/user32/sysparams.c
View file @
2affb854
...
...
@@ -3910,7 +3910,7 @@ static BOOL update_monitor_cache(void)
HANDLE
mutex
=
NULL
;
DWORD
state_flags
;
BOOL
ret
=
FALSE
;
BOOL
mirrored_slave
;
BOOL
is_replica
;
DWORD
i
=
0
,
j
;
DWORD
type
;
...
...
@@ -3956,17 +3956,17 @@ static BOOL update_monitor_cache(void)
(
BYTE
*
)
&
monitors
[
monitor_count
].
rcMonitor
,
sizeof
(
RECT
),
NULL
,
0
))
goto
fail
;
/*
Mirrored slave monitors also
don't get enumerated */
mirrored_slave
=
FALSE
;
/*
Replicas in mirroring monitor sets
don't get enumerated */
is_replica
=
FALSE
;
for
(
j
=
0
;
j
<
monitor_count
;
j
++
)
{
if
(
EqualRect
(
&
monitors
[
j
].
rcMonitor
,
&
monitors
[
monitor_count
].
rcMonitor
))
{
mirrored_slave
=
TRUE
;
is_replica
=
TRUE
;
break
;
}
}
if
(
mirrored_slave
)
if
(
is_replica
)
continue
;
if
(
!
SetupDiGetDevicePropertyW
(
devinfo
,
&
device_data
,
&
WINE_DEVPROPKEY_MONITOR_RCWORK
,
&
type
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment