Re: getting desktop size



On Sun, Feb 14, 1999 at 03:12:28PM -0500, Maciej Stachowiak wrote:
> > not to mention that I can imagine a case where the WM wants to tell the other
> > processes that they should put their things in a specific rectangle, not just
> > away from all the dock windows ...
> 
> Why should the WM tell them that?

what if it uses override redirect windows ... what if it is some sort of area
the WM will use but is not using currently ... it can jsut tell the panel to
avoid that area ... or it could be some decoration of the window manager that
the panel should stay away from ... 

basically the WM knows where it puts it's things and can therefore define
what is the "desktop" are which desktop apps can use for it's
icons/panels/etc...

> Not really. The processes that care just select on the appropriate events, which
> the server is generating anyway. I really think we should stay away gratuitously
> adding new hints just as conveniences. In my strongly held opinion, _WIN_ hints
> should be added only to communicate information that the app or WM can't currently
> get. Keeping things simple is good because it makes implementing the hints in
> new window managers simpler. If Gnome wants to stay true to its goals of window
> manager independence, we should keep the threshold of implementing the extra hints
> as low as possible.

it can still be independent ... this is not a hint without which it will not
work ... it's a "HINT" ... not a "POLICY" ... if a window manager doesn't
implement it ... fine ... if it does, it can get the panel avoiding it's
docks and stuff like that ...

I don't think the panel can guess exactly what the WM is doing so it's not
something that the panel knows already ...

George

-- 
------------------------------------------------------------------------------
George Lebl <jirka@5z.com> http://www.5z.com/jirka/
------------------------------------------------------------------------------
  The following implements RSA in perl and is illegal to export from the US:

          #!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
          $/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
          lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)



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