winex11.drv: When copying window bits exclude an update region only if the parent doesn't clip its children.

Dmitry Timoshkov dmitry at codeweavers.com
Fri Jan 28 22:34:07 CST 2011


Alexandre Julliard <julliard at winehq.org> wrote:

> > -    ExcludeUpdateRgn( hdc_dst, data->hwnd );
> > +    if (!parent || !(GetWindowLongW( parent, GWL_STYLE ) & WS_CLIPCHILDREN))
> > +        ExcludeUpdateRgn( hdc_dst, data->hwnd );
> 
> I don't see what the parent clipping has to do with this. Could you
> please explain?

Additional testing shows that this change is not correct, I'll try to figure
out a better one.

-- 
Dmitry.



More information about the wine-devel mailing list