Re: [RFC] _NET_WORKAREA and Xinerama



You know: this is decidedly nontrivial to implement properly.  If anyone
has a suggestion as to how to do this efficiently I'd very much like to
hear it.

On Fri, 2003-03-14 at 21:27, Rob Adams wrote:
> I'm working on an implementation of this in metacity.  The thing that
> worries me right now is the "sqeeze play".
> 
> Two corner panels on opposite corners.  Put a window between them.  Then
> grow the corner panels until they meet in the middle.
> 
> I'm thinking that perhaps when two struts get two close to each other,
> the WM should merge them together.  This would result in the window
> "squirting" out when the struts are merged into one strut.  Is this the
> sort of behavior people had envisioned with regard to partial-width
> struts?
> 
> -Rob
> 
> On Thu, 2003-03-13 at 21:37, Havoc Pennington wrote:
> > On Thu, Mar 13, 2003 at 09:24:19PM -0800, Rob Adams wrote:
> > > So then there's no reason to have full-width struts at all, except for
> > > backwards compatibility.  What does KWin do with struts right now? 
> > > Perhaps we should switch generally to a partial-width strut for all
> > > uses, then define a useful semantic for dealing with legacy struts in a
> > > reasonably intelligent way.
> > > 
> > 
> > Right, I think the semantic of _NET_WM_STRUT should just be "it is
> > assumed full-width"
> > 
> > _NET_WM_STRUT is an array [ left, right, top, bottom ]
> > 
> > We could do a partial hint something like:
> >  _NET_WM_STRUT_PARTIAL  [ left, start_y, end_y, right, start_y, end_y, 
> >                           top, start_x, end_x, bottom, start_x, end_x ]
> > 
> > _NET_WM_STRUT is thus a shortcut for the partial hint with start/end
> > set to full screen size.
> > 
> > If that sounds OK we should try implementing in at least one WM prior
> > to putting it in the spec I think.
> > 
> > Havoc
> > 
> > 
> >  
> > 
> 
> _______________________________________________
> wm-spec-list mailing list
> wm-spec-list gnome org
> http://mail.gnome.org/mailman/listinfo/wm-spec-list
> 




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