[compiz] initial metacity theme support for compiz

Jigish Gohil jigish.gohil at gmail.com
Fri Sep 22 07:36:01 PDT 2006


On 9/22/06, Jigish Gohil <jigish.gohil at gmail.com> wrote:
> On 9/22/06, Jigish Gohil <jigish.gohil at gmail.com> wrote:
> > On 9/22/06, David Reveman <davidr at novell.com> wrote:
> >
> > >
> > > The cow patch is still defaulting to using the root window so it should
> > > work fine on openSUSE 10.1, SLED10.
> >
> > It doesnt build with cow patch.
> >
> > I had to change the following to make it build, may be we need
> > configure time option like --disable-cow.
> >
> > #############patch#############
> > --- compiz/src/screen.c 2006-09-22 14:14:33.000000000 +0530
> > +++ /usr/src/packages/BUILD/compiz/src/screen.c 2006-09-22
> > 17:16:15.000000000 +0530
> > @@ -897,7 +897,7 @@
> >      Display       *dpy = s->display->display;
> >      XserverRegion region;
> >
> > -    s->overlay   = XCompositeGetOverlayWindow (dpy, s->root);
> > +    s->overlay = s->output = s->root;
> >      s->output    = s->overlay;
> >
> >      region = XFixesCreateRegion (dpy, NULL, 0);
> > ##########end patch##############
> >
> >
> > > I don't think the code in libmetacity
> > > really requires gtk 2.10, I just copied the pkgconfig requirement line
> > > from metacity so that's why it's 2.10 right now. Try changing it to 2.8
> > > and see if it works. Now that you mention it, I realize that I added
> > > something that might be gtk 2.10 specific (a call to
> > > gdk_screen_get_rgba_colormap) to gwd, I can easily workaround that
> > > though.
> >
> > Yes there are some bits that uses gtk 2.10 in there, but that is
> > libmetacity > 2.12 that ships with SLED and 10.1.
> >
> > >
> > > So the answer to your question is; Yes, I'll make sure it's compatible
> >
> David
>
> IT WORKS!!!, so I guess that saves extra effort needed to make it
> compatible with 10.1.
>
> Thanks gandalfin for your patch, that and the nocow patch did it.
>
> I can confirm, themed compiz works with metacity 2.12, xorg 6.9 on
> SLED 10, flawlessly.
>
> Awsome work!!
>
> -J
>
PS. Forgot to hit reply all button.


-- 
CyberOrg Info
Novell & IBM Partner
7 FF Unad Deep, Tower A
Susen Tarsali Road
Vadodara 390 009
T. +91 265 3042956 M +91 9898092956
Web. http://www.cyberorg.info


More information about the compiz mailing list