Avoid BadMatch Error

Alexandre Julliard julliard at winehq.org
Wed Jul 21 20:00:42 CDT 2004


Philip Dicke <Philip.Dicke at raytheon.com> writes:

> Sometimes, when converting from a disabled pixmap for an icon in
> x11drv/bitblt.c, an area is requested using XGetImage that is larger then
> the actual drawable.  This causes a X BadMatch error and wine immediately
> exits.  The submitted patch avoids this error by checking the size of the
> requested area and the size of the drawable in BITBLT_GetSrcArea.

That should not happen, the drawable size must have been taken into
account when computing visRectSrc already. You'll need to find out why
visRectSrc doesn't contain the proper size in your case.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list