Comment 24 for bug 58977

Revision history for this message
Sam Spilsbury (smspillaz) wrote : Re: [Compiz] [Bug 58977] Re: Maximizing ignores docked panles with Xinerama

On Sun, Jan 30, 2011 at 10:27 PM, Dave Gilbert <email address hidden> wrote:
> It's more complicated than that; as I remember (from a couple of years
> ago when I posted the patch in #6 above) there are limitations in the
> 'strut' notification where a window tells the window manager to avoid an
> area; it can't really cope with an arbitrary area in the middle of the
> screen.  So really it's a standardisation issue that the wm and panel
> need to understand; although heck knows if any of that has changed in
> the last couple of years.

My understanding of the specification is that the strut notification
just says "avoid this area of the screen" as defined by
_NET_WM_STRUT_PARTIAL (since that allows you to specify the full
extents of the strut) [1]. So in that case the window manager should
not use that area for placement OR maximization. Of course, things get
tricky when you start considering snap-to, but I think in that case it
is reasonable to ignore the snap-to case where a strut does not share
an edge of the screen.

Both Compiz, Docky and Avant Window Navigator seem to follow this
mantra of doing things - the strut is set perfectly fine if you make
Docky adjacent to another screen edge.

Of course, the specification makes it clear that struts are only to be
used on screen edges and makes it doubly as clear that struts are not
to be reserved at the edge of Xinerama screens, but I haven't seen any
problems with allowing this. If you can point me to the discussion in
light of this bug, that would be much appreciated.

[1] http://standards.freedesktop.org/wm-spec/1.3/ar01s05.html

>
> Dave
>
> --
> You received this bug notification because you are a member of compiz
> packagers, which is subscribed to compiz in ubuntu.
> https://bugs.launchpad.net/bugs/58977
>
> Title:
>  Maximizing ignores docked panles with Xinerama
>
> _______________________________________________
> Mailing list: https://launchpad.net/~compiz
> Post to     : <email address hidden>
> Unsubscribe : https://launchpad.net/~compiz
> More help   : https://help.launchpad.net/ListHelp
>

--
Sam Spilsbury