diff --git a/ChangeLog b/ChangeLog index 7db3f94..9c07974 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-02-08 Matt Rice + + * Source/x11/XGGLContext.m (-[XGXSubWindow initWithView:visualInfo:]): + Use the depth provided by the VisualInfo not the parent window. + 2009-02-06 Fred Kiefer * Source/cairo/CairoGState.m (-copyWithZone:): Correction to last diff --git a/Source/x11/XGGLContext.m b/Source/x11/XGGLContext.m index ac752d4..f562d73 100644 --- a/Source/x11/XGGLContext.m +++ b/Source/x11/XGGLContext.m @@ -123,7 +123,7 @@ xwindowid = XCreateWindow(win_info->display, win_info->ident, x, y, width, height, 0, - CopyFromParent, InputOutput, xVisualInfo->visual, + xVisualInfo->depth, InputOutput, xVisualInfo->visual, mask, &window_attributes); XMapWindow(win_info->display, xwindowid);