On Thu, 8 Apr 2010 20:06:40 -0400, Kristian Høgsberg <[email protected]> wrote:
> +static int glxWindowPrivateKeyIndex; > +static DevPrivateKey glxWindowPrivateKey = &glxWindowPrivateKeyIndex; Because there doesn't appear to be any performance critical use for this object, it should be in the resource database keyed off the window id using a new resource type. That will automatically get destroyed when the window is destroyed, which seems like exactly the semantic you desire. -- [email protected]
pgp3JRAXb6F9r.pgp
Description: PGP signature
_______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
