Path: utzoo!utgpu!watmath!att!dptg!rutgers!cs.utexas.edu!wasatch!helios.ee.lbl.gov!epb2.lbl.gov!envbvs From: envbvs@epb2.lbl.gov (Brian V. Smith) Newsgroups: comp.windows.x Subject: Re: xfish and twm Message-ID: <3542@helios.ee.lbl.gov> Date: 9 Aug 89 20:32:40 GMT References: <3170@gremlin.nrtc.northrop.com> Sender: usenet@helios.ee.lbl.gov Distribution: comp Lines: 35 xmjschm@mbcrrb.harvard.edu < < In article <3170@gremlin.nrtc.northrop.com> echarne@thebeach.nrtc.northrop.com (Eli B. Charne ) writes: < < eli> In article xmjschm@mbcrrb.harvard.edu (Mike Schmelzer) writes: < mike> Why can't I resize an xfish window when using twm ? < mike> More generally, what window attribute allows/disallows resizing? < mike> What would I need to modify in xfish to make its window resizeable? < < eli> twm uses an initialization file called .twmrc (presumable in your home < eli> directory.) < eli> ...... < eli> You may have a number of other files in there, but simply remove the line < eli> with "xfish" to allow twm to decorate that window with a title bar. < < Thanks, but I wish it were that simple. < I've got the resize box in the title bar for xfish, but it doesn't work. < I tried looking at / fiddling with the window hints for the xfish window in < the source code but couldn't really find anything that worked. The problem really is that xfish fills the screen with a 1024x864 window. When you try to resize a window with twm (at least), you must first ENLARGE the window edges you wish to change even if you then want to shrink the window. >>> If the window is already the full size of the screen then there is no way to first enlarge it! The second problem is that xfish takes no parameters for the geometry. I assume it queries the server for the screen size and uses that value. _____________________________________ Brian V. Smith (bvsmith@lbl.gov) Lawrence Berkeley Laboratory We don't need no signatures!