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
db391c37
Commit
db391c37
authored
Feb 09, 2024
by
Rémi Bernon
Committed by
Alexandre Julliard
Feb 21, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
win32u: Only consider active monitors for clone detection.
parent
e4ff578b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
sysparams.c
dlls/win32u/sysparams.c
+7
-6
No files found.
dlls/win32u/sysparams.c
View file @
db391c37
...
...
@@ -1746,14 +1746,15 @@ static BOOL update_display_cache_from_registry(void)
if
(
adapter
->
dev
.
state_flags
&
DISPLAY_DEVICE_ATTACHED_TO_DESKTOP
)
{
if
(
!
IsRectEmpty
(
&
monitor
->
rc_monitor
))
monitor
->
dev
.
state_flags
|=
DISPLAY_DEVICE_ACTIVE
;
}
LIST_FOR_EACH_ENTRY
(
monitor2
,
&
monitors
,
struct
monitor
,
entry
)
{
if
(
EqualRect
(
&
monitor2
->
rc_monitor
,
&
monitor
->
rc_monitor
))
LIST_FOR_EACH_ENTRY
(
monitor2
,
&
monitors
,
struct
monitor
,
entry
)
{
monitor
->
is_clone
=
TRUE
;
break
;
if
(
!
(
monitor2
->
dev
.
state_flags
&
DISPLAY_DEVICE_ACTIVE
))
continue
;
if
(
EqualRect
(
&
monitor2
->
rc_monitor
,
&
monitor
->
rc_monitor
))
{
monitor
->
is_clone
=
TRUE
;
break
;
}
}
}
...
...
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