Rename _KDE_NET_WM_BLUR_REGION to _KDE_NET_WM_BLUR_BEHIND_REGION.

svn path=/trunk/KDE/kdelibs/; revision=1106459
This commit is contained in:
Fredrik Höglund 2010-03-22 22:04:08 +00:00
parent 07ad834e81
commit c1d7ea80ce

View File

@ -64,7 +64,7 @@ bool isEffectAvailable(Effect effect)
effectName = "_KDE_SHADOW_OVERRIDE";
break;
case BlurBehind:
effectName = "_KDE_NET_WM_BLUR_REGION";
effectName = "_KDE_NET_WM_BLUR_BEHIND_REGION";
break;
default:
return false;
@ -305,7 +305,7 @@ void enableBlurBehind(WId window, bool enable, const QRegion &region)
{
#ifdef Q_WS_X11
Display *dpy = QX11Info::display();
Atom atom = XInternAtom(dpy, "_KDE_NET_WM_BLUR_REGION", False);
Atom atom = XInternAtom(dpy, "_KDE_NET_WM_BLUR_BEHIND_REGION", False);
if (enable) {
QVector<QRect> rects = region.rects();