Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!rphroy!caen!uwm.edu!psuvax1!rutgers!bellcore!jello!aw From: aw@jello.bae.bellcore.com (Andrew Wason) Newsgroups: comp.windows.x Subject: Re: XInternAtom Message-ID: <1991Apr15.194418.24765@bellcore.bellcore.com> Date: 15 Apr 91 19:44:18 GMT References: Sender: usenet@bellcore.bellcore.com (Poster of News) Reply-To: aw@jello.bae.bellcore.com (Andrew Wason) Organization: Bell Communications Research Lines: 23 In article , malbert@jeeves.shearson.com (Marc Albert) writes: > I have run in to what looks like an X server bug. I create an > atom on the root window (through an application), > delete it using xprop and confirm that it is gone (using xprop). > When I re-run the application it thinks the property is still there. > > The call to XInternAtom(display, PROP_NAME, True) returns the > value of the previous instance of the atom instead of None. 'xprop -remove PROP_NAME ' deletes a window property so that it no longer contains any data (XDeleteProperty). The Atom which names the property continues to exist in the server and will be returned by a call to XInternAtom. The only way to delete Atoms in a server is when the server resets (all connections to it are closed). Andrew _______________________________________________________________________________ Andrew Wason Bell Communications Research aw@bae.bellcore.com Piscataway, NJ bellcore!bae!aw