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
7bb88af5
Commit
7bb88af5
authored
May 13, 2005
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Process the pending expose events on RDW_UPDATENOW before doing the
redraw_window server call so that the parent windows get properly validated if necessary.
parent
90b48e93
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
painting.c
dlls/user/painting.c
+3
-3
No files found.
dlls/user/painting.c
View file @
7bb88af5
...
@@ -321,9 +321,6 @@ static void update_now( HWND hwnd, UINT rdw_flags )
...
@@ -321,9 +321,6 @@ static void update_now( HWND hwnd, UINT rdw_flags )
{
{
HWND
prev
=
0
,
child
;
HWND
prev
=
0
,
child
;
/* process pending expose events before painting */
MsgWaitForMultipleObjects
(
0
,
NULL
,
FALSE
,
0
,
QS_PAINT
);
/* desktop window never gets WM_PAINT, only WM_ERASEBKGND */
/* desktop window never gets WM_PAINT, only WM_ERASEBKGND */
if
(
hwnd
==
GetDesktopWindow
())
erase_now
(
hwnd
,
rdw_flags
|
RDW_NOCHILDREN
);
if
(
hwnd
==
GetDesktopWindow
())
erase_now
(
hwnd
,
rdw_flags
|
RDW_NOCHILDREN
);
...
@@ -564,6 +561,9 @@ BOOL WINAPI RedrawWindow( HWND hwnd, const RECT *rect, HRGN hrgn, UINT flags )
...
@@ -564,6 +561,9 @@ BOOL WINAPI RedrawWindow( HWND hwnd, const RECT *rect, HRGN hrgn, UINT flags )
dump_rdw_flags
(
flags
);
dump_rdw_flags
(
flags
);
}
}
/* process pending expose events before painting */
if
(
flags
&
RDW_UPDATENOW
)
MsgWaitForMultipleObjects
(
0
,
NULL
,
FALSE
,
0
,
QS_PAINT
);
if
(
rect
&&
!
hrgn
)
if
(
rect
&&
!
hrgn
)
{
{
ret
=
redraw_window_rects
(
hwnd
,
flags
,
rect
,
1
);
ret
=
redraw_window_rects
(
hwnd
,
flags
,
rect
,
1
);
...
...
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