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
2c4a3c8a
Commit
2c4a3c8a
authored
May 30, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: We no longer need to ensure that the BeginPaint window belongs to the current thread.
parent
a2ba7dcf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
+0
-9
painting.c
dlls/user32/painting.c
+0
-9
No files found.
dlls/user32/painting.c
View file @
2c4a3c8a
...
...
@@ -859,20 +859,11 @@ static HWND fix_caret(HWND hWnd, const RECT *scroll_rect, INT dx, INT dy,
*/
HDC
WINAPI
BeginPaint
(
HWND
hwnd
,
PAINTSTRUCT
*
lps
)
{
HWND
full_handle
;
HRGN
hrgn
;
UINT
flags
=
UPDATE_NONCLIENT
|
UPDATE_ERASE
|
UPDATE_PAINT
|
UPDATE_INTERNALPAINT
|
UPDATE_NOCHILDREN
;
if
(
!
lps
)
return
0
;
if
(
!
(
full_handle
=
WIN_IsCurrentThread
(
hwnd
)))
{
if
(
IsWindow
(
hwnd
))
FIXME
(
"window %p belongs to other thread
\n
"
,
hwnd
);
return
0
;
}
hwnd
=
full_handle
;
HideCaret
(
hwnd
);
if
(
!
(
hrgn
=
send_ncpaint
(
hwnd
,
NULL
,
&
flags
)))
return
0
;
...
...
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