Commit d558a53a authored by Keith Packard's avatar Keith Packard

Use XLIB_SKIP_ARGB_VISUALS environment variable to disable all depth 32...

Use XLIB_SKIP_ARGB_VISUALS environment variable to disable all depth 32 visuals. Necessary to keep Flash from crashing.
Must call ValidateGC/ValidatePicture on "real" GC/Picture to ensure pCompositeClip is set correctly.
Need to take the composite clip from the "real" GC/Picture and turn it into the clientClip for the backing version.
Adjust pixmap screen origin to account for drawable->x/y Change debugging output a bit (disabled by default)
parent 85c2d81f
......@@ -570,6 +570,12 @@ XOpenDisplay (
u.vp = (xVisualType *) (((char *) u.vp) +
sz_xVisualType);
}
if (dp->depth == 32 && getenv ("XLIB_SKIP_ARGB_VISUALS"))
{
Xfree (dp->visuals);
dp->visuals = NULL;
dp->nvisuals = 0;
}
} else {
dp->visuals = (Visual *) NULL;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment