April 13, 2005
3:11 p.m.
Rein Klazes <wijn(a)wanadoo.nl> writes:
--- wine/dlls/x11drv/dib.c 2005-04-13 08:55:39.000000000 +0200 +++ mywine/dlls/x11drv/dib.c 2005-04-13 13:24:10.000000000 +0200 @@ -3484,6 +3484,41 @@ static void X11DRV_DIB_GetImageBits_32( } }
+static int XGetSubImageErrorHandler(Display *dpy, XErrorEvent *event, void *arg) +{ + return 1; +}
You should check that this was really a BadMatch error from XGetSubImage, we don't want to blindly ignore all errors. -- Alexandre Julliard julliard(a)winehq.org