Path: utzoo!attcan!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!bloom-beacon!THINK.COM!salem From: salem@THINK.COM Newsgroups: comp.windows.x Subject: WMNormalHints and ICCCM: what is the window manager supposed to do ? Message-ID: <8906220708.AA13890@mandala.think.com> Date: 22 Jun 89 07:08:35 GMT References: <8906211212.AA01068@expire.lcs.mit.edu> Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 34 From: rws@expo.lcs.mit.edu Date: Wed, 21 Jun 89 08:12:13 -0400 If PPosition and PSize are specified, should the window manager query the user for the window's size and position ? The ICCCM places no constraints on this policy decision. I would like to specify a default size and position for the window but allow the user to override them as the window is being mapped. What is the correct way to specify this behavior ? Too early in the morning, I guess, I don't understand the question. I'll try again. 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. Which is correct ? Or is this outside the scope of ICCCM ? If it is outside the scope, I encourage that it be taken up in a future draft. My client has a preferred position and size. Therefore, it seems natural to specify the PPosition and PSize flags. 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. -- jim