Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!cornell!murthy
From: murthy@rati.cs.cornell.edu (Chet Murthy)
Newsgroups: comp.windows.x
Subject: Re: Twm and Repositioning Windows
Message-ID: <21138@cornell.UUCP>
Date: 19 Sep 88 22:45:42 GMT
References: <5916.590696332@CHILES.SLISP.CS.CMU.EDU>
Sender: nobody@cornell.UUCP
Reply-To: murthy@cs.cornell.edu (Chet Murthy)
Organization: Cornell Univ. CS Dept, Ithaca NY
Lines: 31

In article <5916.590696332@CHILES.SLISP.CS.CMU.EDU> Bill.Chiles@WB1.CS.CMU.EDU writes:
>Under twm, this seems impossible.  It does not honor basic reconfiguration
>with new positions, and it ignores the "Inter-Client Communication
>Conventions Manual" (that is, setting the normal hints as well as sending
>repositioning requests).  I understand that it is legal for the window
>manager to ignore this activity, but I find it plainly offensive that it
>fights so hard when other reasonable window managers are willing to comply.
>
>Has anyone modified twm's code to be like awm's code in this respect?  Am I
>correct in assuming that twm is purposefully ignoring repositioning
>requests?  Or is this a twm bug?  Is there a fix for it?
>

Yep.  I have the same problem with twm.  my application runs fine under uwm,
and puts up windows in the same place, time after time.  Under twm, it
does an xlib:set-standard-window-properties call (in CLX) with the
same valies of x,y,width,height, each time, but the window is put in different
places in the screen each and every time. It's really a pain.  Sometimes,
the window is created off the screen, even though I set DontMoveOff.

Under awm, my program doesn't seem to be getting the exposure events it needs
to know when to redraw, so I can't run it there.  I would like fices to
twm to stop it from positioning windows in such weird places, or to 
make it position windows completely on-screen if possible when DontMoveOff is
set.  I'm gonna try to fix it myself, but the code is sort of large,
so it may take a while.



	--chet--
	murthy@svax.cs.cornell.edu