Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!munnari.oz.au!comp.vuw.ac.nz!comp.vuw.ac.nz!kjx From: kjx@comp.vuw.ac.nz (R James Noble) Newsgroups: comp.windows.x Subject: Re: Is xplaces possible? Message-ID: <1989Oct16.032042.25226@comp.vuw.ac.nz> Date: 16 Oct 89 03:20:42 GMT Sender: news@comp.vuw.ac.nz (News Admin) Reply-To: kjx@comp.vuw.ac.nz (R James Noble) Organization: Dept of Comp Sci, Victoria University of Wellington, NZ. Lines: 23 I have a trivial program that traverses the window tree, and prints out the WM_COMMAND and WM_CLIENT_MACHINE property for each window, in a form suitable for execution by a shell. It also attempts to find suitable values for the -geometry flag, which it prints out. It seems that most applications upon getting multiple -geom flags ignore all but the last, so I can print the command, and also print my calculated geometry and all works as expected... for example: xexec offramp.comp.vuw.ac.nz xload -geometry 100x100-120+10 \ -geometry 112x80+2+19 There are two problems I have found: firstly, I currently treat icons as uniconified windows (finding the unmapped window with WM_COMMAND set), and secondly, with certain applications (such as an xterm with scrollbar set) the window size I calculate (window size divided by resize increment) does not give the correct geometry specification for the window. I believe the ICCCM et al. may go some way to solving this problem. -- RJ Noble, Victoria University of Wellington, New Zealand kjx@comp.vuw.ac.nz ...!uunet!vuwcomp!kjx