[comp.windows.x] properies problems solved!

alan@cogswell.Jpl.Nasa.Gov (Alan S. Mazer) (10/26/90)

I've posted a couple times about problems using root window properties to 
communicate among clients.  

In one case, a client would try to delete a root window property and it wouldn't
get deleted.  In another, one client would set a property value and then have
to read it itself before other clients could.

Both of these problems are solved, somewhat by accident, using XSync.  If I
use XSync after deleting a root window property (and before the deleting
client exits) it works great.  Similarly, if the client creating the root
property calls XSync before the reading client tries to get the value, there
are no problems.

I'm not really sure why this should be necessary in either case, particularly
in the latter, but it does solve the problems.
-- 

-- Alan			       # My aptitude test in high school suggested that
   ..!ames!elroy!alan	       # I should become a forest ranger.  Take my
   alan@elroy.jpl.nasa.gov     # opinions on computers with a grain of salt.