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:
parent
07ad834e81
commit
c1d7ea80ce
@ -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 ®ion)
|
||||
{
|
||||
#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();
|
||||
|
Loading…
Reference in New Issue
Block a user