[Xcb] patch for xcb_aux
Barton C Massey
bart at cs.pdx.edu
Mon Dec 17 09:13:03 PST 2007
Oops. Not sure how my stupid typo crept back in; thanks
much for the catch.
Bart
In message <200712171534.44096.hto at arcor.de> you wrote:
> --Boundary-00=_EkoZHvlGugTx6GU
> Content-Type: text/plain;
> charset="us-ascii"
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
>
> Hi,
>
> I am not sure if my system is broken. If not then the attached patch
> contains a bugfix for xcb/util HEAD.
>
> --Boundary-00=_EkoZHvlGugTx6GU
> Content-Type: text/x-diff;
> charset="us-ascii";
> name="0001-There-is-no-member-visual_class-in-xcb_visualtype_.patch"
> Content-Transfer-Encoding: quoted-printable
> Content-Disposition: attachment;
> filename="0001-There-is-no-member-visual_class-in-xcb_visualtype_.patch"
>
> =46rom 7bc22c28e13c4fbf7365bd38ce4f5c7d3ec2711d Mon Sep 17 00:00:00 2001
> =46rom: Thomas Hunger <hto at arcor.de>
> Date: Mon, 17 Dec 2007 15:32:35 +0100
> Subject: [PATCH] There is no member 'visual_class' in xcb_visualtype_t.
> The original name is class which is translated to _class for c++ compabili=
> ty
>
> =2D--
> aux/xcb_aux.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/aux/xcb_aux.c b/aux/xcb_aux.c
> index 3602afa..b1b7f38 100644
> =2D-- a/aux/xcb_aux.c
> +++ b/aux/xcb_aux.c
> @@ -107,7 +107,7 @@ xcb_aux_find_visual_by_attrs (xcb_screen_t *screen,
> continue;
> for (j =3D xcb_depth_visuals_iterator(i.data);
> j.rem; xcb_visualtype_next(&j))
> =2D if (class =3D=3D -1 || j.data->visual_class =3D=3D class)
> + if (class =3D=3D -1 || j.data->_class =3D=3D class)
> return j.data;
> }
> return 0;
> =2D-=20
> 1.5.3.7
>
>
> --Boundary-00=_EkoZHvlGugTx6GU
> Content-Type: text/plain; charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
>
> _______________________________________________
> Xcb mailing list
> Xcb at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xcb
> --Boundary-00=_EkoZHvlGugTx6GU--
More information about the Xcb
mailing list