Thanks Matt and Ivan for your suggestions, warnings, and ideas. Matt --- in answer to your question about xwininfo --- what i want to do is form a model of what is on screen. So skipping off-screen and unmapped windows is exactly right. The reason for not parsing xwininfo is i want to form this model each time a new window is opened (because my ultimate goal is to place newly created windows where they will not overlap existing windows, if possible, and failing that, will not overlap existing app windows [roughly speaking---the exact heuristic would be more complicated]). So i don't feel comfortable doing a long parsing exercise each time a window gets opened. (Of course i am aware that "premature optimization is the root of all evil", so maybe i'm just being evil here.)
Ivan --- regarding stepping through this with gdb --- that is something i should do. I used to do it in the old days and i probably should learn how to do it with gnustep. However, as far as stepping through XGServerWindow.m goes, that's probably not very easily possible for me, as i am using a ubuntu package (12.04). I want to treat gnustep on ubuntu as a black box, because ultimately i can hardly expect anybody to modify their installation for my benefit. Regarding changing the number of externally open windows --- i did try this, and it made no difference. (I opened terminal windows and closed firefox windows [not at the same time!].) Thanks again! dan _______________________________________________ Discuss-gnustep mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnustep
