Path: utzoo!attcan!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!bloom-beacon!EXPO.LCS.MIT.EDU!jim From: jim@EXPO.LCS.MIT.EDU (Jim Fulton) Newsgroups: comp.windows.x Subject: Re: WMNormalHints and ICCCM: what is the window manager supposed to do ? Message-ID: <8906221353.AA05972@expo.lcs.mit.edu> Date: 22 Jun 89 13:53:25 GMT References: <8906220708.AA13890@mandala.think.com> Sender: daemon@bloom-beacon.MIT.EDU Organization: X Consortium, MIT Laboratory for Computer Science Lines: 23 > How do I inform the window manager that it should allow the user a chance to > reposition or resize the window ? > > The WM_NORMAL_HINTS appear to control this behavior. > > In uwm, I must specify no flags or just the PPosition or PSize flags. > In twm, I must specify no flags. The R4 twm only looks at the USPosition flag in the normal hints. Your application should feel free to set PPosition and PSize as it sees fit. The window manager is free to use or ignore them. I would suspect that many window managers will use PPosition and PSize as defaults, but allow some sort of interactive prompting. > However, I do NOT want the > window manager to place the window without giving the user a chance to > resize and reposition it. twm doesn't allow this functionality. Fixed in R4. I don't have an R3 twm, but you can probably fix it in add_window pretty easily.