re property problems in article wsmart tay mcs dundee ac uk bill smart writes to get the number back the other client does appatom xinternatom display applicationwindow true xgetwindowproperty display defaultrootwindow display appatom false xa window return type return format nitems return bar return place and appears to get back something valid just not the right number it always seems to return the same number regardless of the window number stored in the property return place is probably incorrect it should be a pointer not an integer xgetwindowproperty allocates memory copies the data there and returns a pointer to the memory you should free the memory when you re done ken lee klee synoptics com
