deactivate translucent background when the containment becomes the

panel, prevents weird margins

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=815657
This commit is contained in:
Marco Martin 2008-06-02 13:27:20 +00:00
parent 62a32a22a7
commit dedc5eac8f

View File

@ -758,6 +758,8 @@ void Applet::flushPendingConstraintsEvents()
setBackgroundHints(d->backgroundHints|StandardBackground);
} else if(d->backgroundHints&StandardBackground) {
setBackgroundHints(d->backgroundHints^StandardBackground);
} else if(d->backgroundHints&TranslucentBackground) {
setBackgroundHints(d->backgroundHints^TranslucentBackground);
}
}