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
e9b4fd18
Commit
e9b4fd18
authored
Nov 30, 2001
by
Gerard Patel
Committed by
Alexandre Julliard
Nov 30, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove some possible interlocking problems with peb lock.
parent
8111f043
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
81 additions
and
54 deletions
+81
-54
nonclient.c
windows/nonclient.c
+78
-53
painting.c
windows/painting.c
+3
-1
No files found.
windows/nonclient.c
View file @
e9b4fd18
This diff is collapsed.
Click to expand it.
windows/painting.c
View file @
e9b4fd18
...
@@ -341,6 +341,8 @@ HDC WINAPI BeginPaint( HWND hwnd, PAINTSTRUCT *lps )
...
@@ -341,6 +341,8 @@ HDC WINAPI BeginPaint( HWND hwnd, PAINTSTRUCT *lps )
wndPtr
->
hrgnUpdate
=
0
;
wndPtr
->
hrgnUpdate
=
0
;
wndPtr
->
flags
&=
~
WIN_INTERNAL_PAINT
;
wndPtr
->
flags
&=
~
WIN_INTERNAL_PAINT
;
WIN_ReleaseWndPtr
(
wndPtr
);
HideCaret
(
hwnd
);
HideCaret
(
hwnd
);
TRACE
(
"hrgnUpdate = %04x,
\n
"
,
hrgnUpdate
);
TRACE
(
"hrgnUpdate = %04x,
\n
"
,
hrgnUpdate
);
...
@@ -368,7 +370,6 @@ HDC WINAPI BeginPaint( HWND hwnd, PAINTSTRUCT *lps )
...
@@ -368,7 +370,6 @@ HDC WINAPI BeginPaint( HWND hwnd, PAINTSTRUCT *lps )
if
(
!
lps
->
hdc
)
if
(
!
lps
->
hdc
)
{
{
WARN
(
"GetDCEx() failed in BeginPaint(), hwnd=%04x
\n
"
,
hwnd
);
WARN
(
"GetDCEx() failed in BeginPaint(), hwnd=%04x
\n
"
,
hwnd
);
WIN_ReleaseWndPtr
(
wndPtr
);
return
0
;
return
0
;
}
}
...
@@ -388,6 +389,7 @@ HDC WINAPI BeginPaint( HWND hwnd, PAINTSTRUCT *lps )
...
@@ -388,6 +389,7 @@ HDC WINAPI BeginPaint( HWND hwnd, PAINTSTRUCT *lps )
TRACE
(
"box = (%i,%i - %i,%i)
\n
"
,
lps
->
rcPaint
.
left
,
lps
->
rcPaint
.
top
,
TRACE
(
"box = (%i,%i - %i,%i)
\n
"
,
lps
->
rcPaint
.
left
,
lps
->
rcPaint
.
top
,
lps
->
rcPaint
.
right
,
lps
->
rcPaint
.
bottom
);
lps
->
rcPaint
.
right
,
lps
->
rcPaint
.
bottom
);
if
(
!
(
wndPtr
=
WIN_FindWndPtr
(
hwnd
)))
return
0
;
if
(
wndPtr
->
flags
&
WIN_NEEDS_ERASEBKGND
)
if
(
wndPtr
->
flags
&
WIN_NEEDS_ERASEBKGND
)
{
{
wndPtr
->
flags
&=
~
WIN_NEEDS_ERASEBKGND
;
wndPtr
->
flags
&=
~
WIN_NEEDS_ERASEBKGND
;
...
...
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