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
d3d24770
Commit
d3d24770
authored
Sep 27, 1999
by
Francis Beaudet
Committed by
Alexandre Julliard
Sep 27, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rcPaint has to be returned in logical coordinates but was intersected
with a client rectangle in device coordinates.
parent
8b47ec24
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
painting.c
windows/painting.c
+4
-1
No files found.
windows/painting.c
View file @
d3d24770
...
...
@@ -327,9 +327,12 @@ HDC16 WINAPI BeginPaint16( HWND16 hwnd, LPPAINTSTRUCT16 lps )
than the window itself, so we need to intersect the cliprect with
the window */
/* GetClipBox16( lps->hdc, &lps->rcPaint );*/
GetClipBox16
(
lps
->
hdc
,
&
clipRect
);
GetClientRect16
(
hwnd
,
&
clientRect
);
/* The rect obtained by GetClipBox is in logical, so make the client in logical to*/
DPtoLP16
(
lps
->
hdc
,
(
LPPOINT16
)
&
clientRect
,
2
);
IntersectRect16
(
&
lps
->
rcPaint
,
&
clientRect
,
&
clipRect
);
TRACE_
(
win
)(
"box = (%i,%i - %i,%i)
\n
"
,
lps
->
rcPaint
.
left
,
lps
->
rcPaint
.
top
,
...
...
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