Re: Panels with compiz

Tony Houghton <[email protected]>
Newsgroups gmane.comp.desktop.rox.devel
Message-ID <[email protected]>
In <[email protected]>
Lucas Hazel <[email protected]> wrote:

> On Fri, 25 Apr 2008 23:24:52 +1000
> Lucas Hazel <[email protected]> wrote:
> 
> > I just upgraded to compiz-fusion 0.7.4, and the panels come off the
> > screen.
> > 
> 
> > 
> > Not sure if this a bug with ROX or compiz though.
> > 
> 
> Here is a screenshot of the problem, http://i27.tinypic.com/so1stu.jpg
> 
> I'm almost certain this is a ROX related bug now. I did a quick test
> to see how compiz handles dock type windows:

[Snip]

> I've been playing with the X11 magic in gui_support.c and panel.c but
> can't seem to pinpoint the cause. Is there anywhere else I should be
> looking? Or any ideas what might cause this effect?

I think it's compiz's fault. recalcWindowType() in window.c contains
this:

    if (type == CompWindowTypeDockMask && (w->state & CompWindowStateBelowMask))
        type = CompWindowTypeNormalMask;

I disabled the bit of ROX that sets _NET_WM_STATE_BELOW (but I still
think compiz is in the wrong, not ROX) and my panel stayed on the edge.
I'm attaching a little patch.

I'll report it on the compiz forums and/or bug tracker, but it could be
a while before a fix is generally available so perhaps we should have an
extra Compatibility option in ROX?

-- 
TH * http://www.realh.co.uk

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.