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
cdb2bfe8
Commit
cdb2bfe8
authored
Mar 08, 2005
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Process only pending expose events during RDW_UPDATENOW, not all the
other X events.
parent
5beccd01
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
painting.c
dlls/user/painting.c
+3
-4
No files found.
dlls/user/painting.c
View file @
cdb2bfe8
...
...
@@ -328,6 +328,9 @@ static void update_now( HWND hwnd, UINT rdw_flags )
{
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 */
if
(
hwnd
==
GetDesktopWindow
())
erase_now
(
hwnd
,
rdw_flags
|
RDW_NOCHILDREN
);
...
...
@@ -426,10 +429,6 @@ BOOL WINAPI RedrawWindow( HWND hwnd, const RECT *rect, HRGN hrgn, UINT flags )
if
(
!
WIN_IsWindowDrawable
(
hwnd
,
!
(
flags
&
RDW_FRAME
)
))
return
TRUE
;
/* process pending events and messages before painting */
if
(
flags
&
RDW_UPDATENOW
)
MsgWaitForMultipleObjects
(
0
,
NULL
,
FALSE
,
0
,
QS_ALLINPUT
);
if
(
TRACE_ON
(
win
))
{
if
(
hrgn
)
...
...
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