[compiz] gtk-window-decorator metacity opacity theme

gandalfn gandalfn at club-internet.fr
Mon Oct 2 11:14:45 PDT 2006


Le lundi 02 octobre 2006 à 12:42 -0400, David Reveman a écrit :
> Hey,
Hi,

> 
> I assume that the new metacity theme version [1] will have full support
> for alpha but it might make sense to add support for translucent
> decorations to old themes as well. We need to make sure that it doesn't
> cause any issues with some themes though. It seems to me that it makes
> more sense to have an overall opacity setting that can be used to adjust
> how translucent the decorations should be. That can be implemented in
> such a way that we can be sure that it doesn't cause issues with some
> old themes. What do you think?
> 
For the moment I think too that the better solution would be to be able
to adjust the alpha value which I regulated to zero per defect in my
patch, to keep, as you suggest it, a compatibility with the old metacity
themes while having translucent decorations.

> btw, is the changes to the create_pixmap function in your patch suppose
> to be a cleanup? The changes makes it so it no longer fails when an ARGB
> colormap can't be find and I'm not sure that's right.
> 

Not indeed, that is not correct ! it's one of my bad programming habits,
sorry.


Ps: I hope that my english is correct and that you understand it :)

> -David
> 
> 
> [1] http://bugzilla.gnome.org/show_bug.cgi?id=102547
> 
> 
> 
> On Sun, 2006-10-01 at 20:38 +0200, gandalfn wrote:
> > hi,
> > 
> > I made a small a patch for gtk-window-decorator which define default
> > border alpha to zero when it use metacity theme.
> > That allows while playing with the alpha attributes of the metacity
> > themes to have transparent borders. here too the modified “Human Ubuntu”
> > theme and a screenshot to show the result.
> > 
> > ps: sorry for my bad english
> > _______________________________________________
> > compiz mailing list
> > compiz at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/compiz
> 
> 
> �
> 



More information about the compiz mailing list