[PATCH] Xi: reset the known properties at the end of the server generation.
Julien Cristau
jcristau at debian.org
Fri May 7 01:15:47 PDT 2010
On Fri, May 7, 2010 at 16:22:12 +1000, Peter Hutterer wrote:
> Properties allocated through XIGetKnownProperty() aren't reset on the second
> server generation but keep the old value. As a result, wrong Atoms are
> supplied to the driver, resulting in potential data corruption or weird
> error message.
>
> Reproducible by running "xlsatom | grep FLOAT" twice on a plain X server.
> The second X server generation won't have the FLOAT atom defined anymore,
> despite the users of this atom not noticing any errors.
>
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
Reviewed-by: Julien Cristau <jcristau at debian.org>
Cheers,
Julien
More information about the xorg-devel
mailing list