Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!wuarchive!sdd.hp.com!hplabs!hpfcso!garfinkel From: garfinkel@hpfcso.FC.HP.COM (Dan Garfinkel) Newsgroups: comp.windows.x Subject: Re: Moving windows from the command line Message-ID: <7320017@hpfcso.FC.HP.COM> Date: 19 Feb 91 17:05:47 GMT References: <568@askinc.UUCP> Organization: Hewlett-Packard, Fort Collins, CO, USA Lines: 31 > > Is it possible to move an x-window using the command line in another > > session. For example, somebody posted a way to change the title in > > an x window via a c program executed in another session. Is there > > an analogous way to move the window to another location on the > > root display. > > Yes, use XConfigureWindow. > > > For that matter, is there a way to iconicize it as well? > > Yes, use XUnmapWindow. > > In both cases, your window manager will (should) handle the operation. Oops, That'll teach me to post with a head cold. This information is incorrect. First, these are not commands but rather Xlib calls to write commands with. Second, as de Mouse pointed out, one should use the following Xlib calls in writing such commands. 1) XConfigureWMWindow and 2) XIconifyWindow Sorry for the misinformation. -Dan