Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!hplabs!hp-pcd!hpcvlx!keith From: keith@hpcvlx.HP.COM (Keith Taylor) Newsgroups: comp.sys.hp Subject: Re: Positioning Windows With hpwm Message-ID: <101950037@hpcvlx.HP.COM> Date: 5 Jun 89 15:59:51 GMT References: <347@node14.mecazh.UUCP> Organization: Hewlett-Packard Co., Corvallis, OR, USA Lines: 34 >We are trying to write an X11 application under HP-UX 6.5 that:- > > a. Uses the full screen (yes all of it). > b. Is managed by hpwm. > >We have tried setting the resources `positionIsFrame' and `positionOnScreen' to >False, but hpwm still insists on offsetting the top left corner of the >user area of the window a few pixels. > >This is true even with tests like > > xclock -geometry 200x200+0+0 > Try setting both positionOnScreen and positionIsFrame to False. Also, start up your client with an X-border width of 0. Hpwm tries to position the window so the client area is in the same place it would have been if the window had been put up with its original X-border. The client area is offset from the geometry specified by the width of the X-border. >In addition, hpwm still resizes the window to original size minus the >frame size. > >Does anyone know why this is so? > You might try specifying a sufficiently big maximum size in WM_NORMAL_HINTS. What you describe sounds like the default maximum size computed by hpwm. (I hope I interpreted your statement correctly.) Keith M. Taylor Hewlett-Packard Corvallis Information Systems