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
e7cc4ad2
Commit
e7cc4ad2
authored
May 11, 2003
by
Ulrich Czekalla
Committed by
Alexandre Julliard
May 11, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Return value of ExtSelectClipRgn should consider visible region.
parent
e8e10e9a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
clipping.c
objects/clipping.c
+5
-4
No files found.
objects/clipping.c
View file @
e7cc4ad2
...
...
@@ -70,6 +70,7 @@ INT WINAPI SelectClipRgn( HDC hdc, HRGN hrgn )
INT
WINAPI
ExtSelectClipRgn
(
HDC
hdc
,
HRGN
hrgn
,
INT
fnMode
)
{
INT
retval
;
RECT
rect
;
DC
*
dc
=
DC_GetDCUpdate
(
hdc
);
if
(
!
dc
)
return
ERROR
;
...
...
@@ -88,7 +89,6 @@ INT WINAPI ExtSelectClipRgn( HDC hdc, HRGN hrgn, INT fnMode )
{
if
(
dc
->
hClipRgn
)
DeleteObject
(
dc
->
hClipRgn
);
dc
->
hClipRgn
=
0
;
retval
=
SIMPLEREGION
;
/* Clip region == whole DC */
}
else
{
...
...
@@ -107,14 +107,15 @@ INT WINAPI ExtSelectClipRgn( HDC hdc, HRGN hrgn, INT fnMode )
}
if
(
fnMode
==
RGN_COPY
)
retval
=
CombineRgn
(
dc
->
hClipRgn
,
hrgn
,
0
,
fnMode
);
CombineRgn
(
dc
->
hClipRgn
,
hrgn
,
0
,
fnMode
);
else
retval
=
CombineRgn
(
dc
->
hClipRgn
,
dc
->
hClipRgn
,
hrgn
,
fnMode
);
CombineRgn
(
dc
->
hClipRgn
,
dc
->
hClipRgn
,
hrgn
,
fnMode
);
}
CLIPPING_UpdateGCRegion
(
dc
);
GDI_ReleaseObj
(
hdc
);
return
retval
;
return
GetClipBox
(
hdc
,
&
rect
);
}
/***********************************************************************
...
...
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