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
b2787fb1
Commit
b2787fb1
authored
Oct 24, 2022
by
Paul Gofman
Committed by
Alexandre Julliard
Oct 31, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
win32u: Store output id in monitors cache.
parent
162101bc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
sysparams.c
dlls/win32u/sysparams.c
+12
-0
No files found.
dlls/win32u/sysparams.c
View file @
b2787fb1
...
...
@@ -226,6 +226,7 @@ struct monitor
HANDLE
handle
;
unsigned
int
id
;
unsigned
int
flags
;
unsigned
int
output_id
;
RECT
rc_monitor
;
RECT
rc_work
;
BOOL
is_clone
;
...
...
@@ -714,6 +715,17 @@ static BOOL read_monitor_settings( struct adapter *adapter, DWORD index, struct
}
monitor
->
dev
.
state_flags
=
*
(
const
DWORD
*
)
value
->
Data
;
/* Output ID */
size
=
query_reg_subkey_value
(
hkey
,
devpropkey_monitor_output_idW
,
sizeof
(
devpropkey_monitor_output_idW
),
value
,
sizeof
(
buffer
)
);
if
(
size
!=
sizeof
(
monitor
->
output_id
))
{
NtClose
(
hkey
);
return
FALSE
;
}
monitor
->
output_id
=
*
(
const
unsigned
int
*
)
value
->
Data
;
/* rc_monitor, WINE_DEVPROPKEY_MONITOR_RCMONITOR */
size
=
query_reg_subkey_value
(
hkey
,
wine_devpropkey_monitor_rcmonitorW
,
sizeof
(
wine_devpropkey_monitor_rcmonitorW
),
...
...
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