On Fri, 4 Aug 2000, Marcus Meissner wrote:

> The patch above breaks repaint on expose.
>
> However, the current setup is not correct either.
> I get SetWindowPos() and paint recursions in QuickTimePlayer 4 which
were
> just
> not there 1.5 weeks ago.
>
> Ciao, Marcus
>
Well, is this one any more agreeable?  It also spares the text, and
seems more limited in scope.  Seriously, could this be a difference
between the 16 and 32 bit API's, or is there some error in the sequence
of processing messages?

diff -urN was/windows/painting.c is/windows/painting.c
--- was/windows/painting.c      Wed Aug  2 17:34:15 2000
+++ is/windows/painting.c       Fri Aug  4 23:28:48 2000
@@ -995,7 +995,7 @@
  */
 void WINAPI UpdateWindow16( HWND16 hwnd )
 {
-    PAINT_RedrawWindow( hwnd, NULL, 0, RDW_UPDATENOW | RDW_ALLCHILDREN,
0 );
+    PAINT_RedrawWindow( hwnd, NULL, 0, RDW_UPDATENOW | RDW_NOCHILDREN, 0
);
 }

 /***********************************************************************


That looks like it might fold in the mail.  I'll gzip and attach it too.

Lawson


This message is brought to you by Wine-20000801, as amended, with the
unwitting cooperation of Juno 1.49.
---cut here

painting.diff.gz

Reply via email to