Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
f0380e57
Commit
f0380e57
authored
Jul 18, 1999
by
Eric Pouech
Committed by
Alexandre Julliard
Jul 18, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
In WIN_UpdateNCRgn, do not send in WM_NCPAINT a region that is used
afterwards, but a copy of it.
parent
ec133cea
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
painting.c
windows/painting.c
+7
-1
No files found.
windows/painting.c
View file @
f0380e57
...
@@ -232,8 +232,14 @@ copyrgn:
...
@@ -232,8 +232,14 @@ copyrgn:
if
(
hClip
)
/* NOTE: WM_NCPAINT allows wParam to be 1 */
if
(
hClip
)
/* NOTE: WM_NCPAINT allows wParam to be 1 */
{
{
if
(
hClip
==
hrgnRet
&&
hrgnRet
>
1
)
{
hClip
=
CreateRectRgn
(
0
,
0
,
0
,
0
);
CombineRgn
(
hClip
,
hrgnRet
,
0
,
RGN_COPY
);
}
SendMessageA
(
wnd
->
hwndSelf
,
WM_NCPAINT
,
hClip
,
0L
);
SendMessageA
(
wnd
->
hwndSelf
,
WM_NCPAINT
,
hClip
,
0L
);
if
(
(
hClip
>
1
)
&&
(
hClip
!=
hRgn
)
&&
(
hClip
!=
hrgnRet
)
)
DeleteObject
(
hClip
);
if
(
(
hClip
>
1
)
&&
(
hClip
!=
hRgn
)
&&
(
hClip
!=
hrgnRet
)
)
DeleteObject
(
hClip
);
/*
/*
* Since all Window locks are suspended while processing the WM_NCPAINT
* Since all Window locks are suspended while processing the WM_NCPAINT
* we want to make sure the window still exists before continuing.
* we want to make sure the window still exists before continuing.
...
...
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