Re: Window History Placement



On Wed, Jan 29, 2003 at 08:32:59AM +0100, Matthias Clasen wrote:
> > On Wed, Jan 29, 2003 at 02:50:16AM +0100, Matthias Clasen wrote:
> > 
> > <snip>
> > 
> > > +      <title>Placement policies</title>
> > > +      <para>
> > > +	Placement policies must not be applied if the Client specified 
> > > +        USPosition in the WM_NORMAL_HINTS property or if the geometry
> > is
> > 
> > What about PPosition?
> 
> I'm not sure thats why I left it out. 
> 
> Havoc said that not honoring PPosition breaks some apps (Java again!). 
> Personally, I can't make much sense of PPosition to begin with - if the position
> is not user-specified, it has to be program-specified, no ? I think it has
> just been overlooked when the geometry fields of WM_NORMAL_HINTS were
> deprecated in favour of the actual window geometry and should have been deprecated as
> well.

AFAIK, USPosition means the user has requested that the app should be
somewhere, PPosition means the app itself wants to be somewhere, and
neither means that the window manager should place it however it
wants.

I don't discriminate between USPosition and PPosition in my code, but
if neither is set, then I let the placement algorithm of choice do its thing.

Ben
-- 
I am damn unsatisfied to be killed in this way.

http://www.icculus.org/openbox/

Attachment: pgpApVM9s6Qr7.pgp
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]