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
b8e1a19a
Commit
b8e1a19a
authored
Feb 09, 2011
by
Peter Urbanec
Committed by
Alexandre Julliard
Feb 09, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32/tests: Use virtual screen size instead of primary monitor screen size.
parent
ba6bdf9f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
clipping.c
dlls/gdi32/tests/clipping.c
+6
-2
No files found.
dlls/gdi32/tests/clipping.c
View file @
b8e1a19a
...
...
@@ -413,8 +413,12 @@ static void test_window_dc_clipping(void)
RECT
rc
;
int
ret
,
screen_width
,
screen_height
;
screen_width
=
GetSystemMetrics
(
SM_CXSCREEN
);
screen_height
=
GetSystemMetrics
(
SM_CYSCREEN
);
/* Windows versions earlier than Win2k do not support the virtual screen metrics,
* so we fall back to the primary screen metrics. */
screen_width
=
GetSystemMetrics
(
SM_CXVIRTUALSCREEN
);
if
(
!
screen_width
)
screen_width
=
GetSystemMetrics
(
SM_CXSCREEN
);
screen_height
=
GetSystemMetrics
(
SM_CYVIRTUALSCREEN
);
if
(
!
screen_height
)
screen_height
=
GetSystemMetrics
(
SM_CYSCREEN
);
trace
(
"screen resolution %d x %d
\n
"
,
screen_width
,
screen_height
);
...
...
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