[compiz] gtk-window-decorator metacity opacity theme

gandalfn gandalfn at club-internet.fr
Mon Oct 2 14:59:50 PDT 2006


To illustrate my answer, i rebuilt decoration-opacity patch, you can
with this one, set default alpha decoration with decoration_opacity
option. I also corrected create_pixmap function.
What do you think about it ?

Le lundi 02 octobre 2006 à 20:14 +0200, gandalfn a écrit :
> 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
> > 
> > 
> > �
> > 
> 
> _______________________________________________
> compiz mailing list
> compiz at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/compiz
> �
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: decoration-opacity.diff
Type: text/x-patch
Size: 4462 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/compiz/attachments/20061002/b90a44cb/decoration-opacity.bin


More information about the compiz mailing list