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
75fa51e5
Commit
75fa51e5
authored
Aug 30, 2022
by
Rémi Bernon
Committed by
Alexandre Julliard
Aug 30, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winemac.drv: Check for non-primary adapter earlier in macdrv_ChangeDisplaySettingsEx.
parent
66a051d2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
display.c
dlls/winemac.drv/display.c
+5
-5
No files found.
dlls/winemac.drv/display.c
View file @
75fa51e5
...
...
@@ -840,6 +840,11 @@ LONG macdrv_ChangeDisplaySettingsEx(LPCWSTR devname, LPDEVMODEW devmode,
devname
=
primary_adapter
;
devmode
=
&
default_mode
;
}
else
if
(
wcsicmp
(
primary_adapter
,
devname
))
{
FIXME
(
"Changing non-primary adapter settings is currently unsupported.
\n
"
);
return
DISP_CHANGE_SUCCESSFUL
;
}
if
(
is_detached_mode
(
devmode
))
{
...
...
@@ -880,11 +885,6 @@ LONG macdrv_ChangeDisplaySettingsEx(LPCWSTR devname, LPDEVMODEW devmode,
if
(
best_display_mode
)
{
if
(
flags
&
(
CDS_TEST
|
CDS_NORESET
))
ret
=
DISP_CHANGE_SUCCESSFUL
;
else
if
(
wcsicmp
(
primary_adapter
,
devname
))
{
FIXME
(
"Changing non-primary adapter settings is currently unsupported.
\n
"
);
ret
=
DISP_CHANGE_SUCCESSFUL
;
}
else
if
(
macdrv_set_display_mode
(
&
displays
[
0
],
best_display_mode
))
{
int
mode_bpp
=
display_mode_bits_per_pixel
(
best_display_mode
);
...
...
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