Re: winex11.drv: Make sure that default clipping region exists before calling ExcludeUpdateRgn().

2011-01-31 Thread Alexandre Julliard
Dmitry Timoshkov writes: > Alexandre Julliard wrote: > >> > I looks like the default clip region created by ExtSelectClipRgn() uses >> > the dimensions of the selected bitmap, and it's not large enough. >> >> That's a window DC, it doesn't have a selected bitmap. > > You are right. The app crea

Re: winex11.drv: Make sure that default clipping region exists before calling ExcludeUpdateRgn().

2011-01-31 Thread Dmitry Timoshkov
Alexandre Julliard wrote: > > I looks like the default clip region created by ExtSelectClipRgn() uses > > the dimensions of the selected bitmap, and it's not large enough. > > That's a window DC, it doesn't have a selected bitmap. You are right. The app creates very large child window to fit th

Re: winex11.drv: Make sure that default clipping region exists before calling ExcludeUpdateRgn().

2011-01-31 Thread Alexandre Julliard
Dmitry Timoshkov writes: > I looks like the default clip region created by ExtSelectClipRgn() uses > the dimensions of the selected bitmap, and it's not large enough. That's a window DC, it doesn't have a selected bitmap. -- Alexandre Julliard julli...@winehq.org

Re: winex11.drv: Make sure that default clipping region exists before calling ExcludeUpdateRgn().

2011-01-31 Thread Dmitry Timoshkov
Alexandre Julliard wrote: > > If there is no current clipping region ExtSelectClipRgn(hdc, hrgn, RGN_DIFF) > > creates its own default clipping region which in most cases doesn't match > > neither a visible region nor the window extents attached to the DC. > > It will get intersected with the vi

Re: winex11.drv: Make sure that default clipping region exists before calling ExcludeUpdateRgn().

2011-01-31 Thread Alexandre Julliard
Dmitry Timoshkov writes: > If there is no current clipping region ExtSelectClipRgn(hdc, hrgn, RGN_DIFF) > creates its own default clipping region which in most cases doesn't match > neither a visible region nor the window extents attached to the DC. It will get intersected with the visible regio