From kde-devel Wed Jun 06 20:45:48 2007 From: Lubos Lunak Date: Wed, 06 Jun 2007 20:45:48 +0000 To: kde-devel Subject: Re: KDesktop 3 transparency patch Message-Id: <200706062245.48557.l.lunak () suse ! cz> X-MARC-Message: https://marc.info/?l=kde-devel&m=118116284200739 On st 6. Ĩervna 2007, Dennis Kasprzyk wrote: > The first one allows you to change the opacity of the background image. > This works currently with the beryl transparent cube and will also work > with compiz once the transparent cube gets applied. To activate the feature > add the following to your kdesktoprc: > [Background Common] > BackgroundOpacity=90 (0 = fully transparent / 100 = opaque) What is the reason for modifying KDesktop (and Nautilus and whatnot) to use the ARGB visual instead of simply using _NET_WM_WINDOW_OPACITY or even better just adjusting the opacity in the compositing manager and not having to modify the desktop apps at all? > The second feature allows compiz (and later maybe other composite managers) > to tell kdesktop not to paint the background image > ("_COMPIZ_WALLPAPER_SUPPORTED" x atom). In this case compiz is able to > paint a viewport dependent background or to make it even animated. This > feature looks for changes to the x atom, so that kdesktop will > automatically switch back to normal background if kwin gets started or > compiz stops to render the wallpaper. Is this _COMPIZ_WALLPAPER_SUPPORTED written down somewhere? I don't see it anywhere in Compiz sources, and, if what's said about David Reveman's strictness is true, I probably won't. That's a rather ugly way to announce a feature support, it should be rather something like _NET_WM_SUPPORTED for CMs. Since we have library code for handling things like this that'd also avoid the need to write specific X code for it potentionally including broken things like "XSelectInput (qt_xdisplay(), qt_xrootwin(), PropertyChangeMask);" . -- Lubos Lunak KDE developer -------------------------------------------------------------- SUSE LINUX, s.r.o. e-mail: l.lunak@suse.cz , l.lunak@kde.org Lihovarska 1060/12 tel: +420 284 028 972 190 00 Prague 9 fax: +420 284 028 951 Czech Republic http//www.suse.cz >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<