Comment 76 for bug 491521

Revision history for this message
Andrea Cimitan (cimi) wrote : Re: [Bug 491521] Re: Decorations and RGBA

Got it! :)
Thanks... unfortunately I'm a bit busy, but if you have a small patch
for murrine I will be glad to add a more complete rgba support

2010/1/7 Cody Russell <email address hidden>:
> Andrea, you need to actually look at GdkColormap or the GdkVisual
> directly and determine if it's an RGBA colormap.  You can't compare the
> return value of gdk_screen_get_default_colormap() and
> gdk_screen_get_rgba_colormap(), because they'll be different values even
> though they're both RGBA colormaps.
>
> The reason for this is because we're planning to do a further
> optimization once we get a new EWMH hint spec made official.  But
> basically we want to be able to differentiate between widgets that are
> set to RGBA by either gtk_widget_set_colormap() or which are told
> through the theme that they're RGBA as opposed to widgets that are only
> RGBA because it's they inherited the default and don't actually draw any
> RGBA.
>
> --
> Decorations and RGBA
> https://bugs.launchpad.net/bugs/491521
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Ayatana Ubuntu Love Project: In Progress
> Status in GNOME Desktop Common Files: Unknown
> Status in GTK+ GUI Toolkit: Unknown
> Status in Nautilus: Unknown
> Status in “gnome-desktop” package in Ubuntu: Fix Released
> Status in “gnome-screensaver” package in Ubuntu: New
> Status in “gtk+2.0” package in Ubuntu: In Progress
> Status in “gtk-recordmydesktop” package in Ubuntu: Invalid
> Status in “libgksu” package in Ubuntu: Fix Released
> Status in “nautilus” package in Ubuntu: Fix Released
>
> Bug description:
> For Lucid, I'd like to get the new decorations feature integrated.  This patch adds support for doing client-side window decorations, which pulls in support for RGBA colormaps.
>
> The new decorations feature requires explicit support from a theme before it becomes active (it defaults to being disabled).  However, RGBA support is enabled by default and there is a chance for some fallout from this being added.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ayatana-ubuntu/+bug/491521/+subscribe
>

--
Andrea Cimitan - http://www.cimitan.com