Disable KWin shadow for the effect widgets in present windows and desktop grid

svn path=/trunk/KDE/kdebase/workspace/; revision=1189411
icc-effect-5.14.5
Martin Gräßlin 2010-10-25 01:40:36 +00:00
parent 723f7d1a81
commit 357f9f4174
2 changed files with 2 additions and 0 deletions

View File

@ -1577,6 +1577,7 @@ DesktopButtonsView::DesktopButtonsView( QWidget* parent )
qreal height = form->size().height() + top + bottom;
m_frame->resizeFrame( QSizeF( width, height ) );
Plasma::WindowEffects::enableBlurBehind( winId(), true, m_frame->mask() );
Plasma::WindowEffects::overrideShadow( winId(), true );
form->setPos( left, top );
scene->setSceneRect( QRectF( QPointF( 0, 0 ), QSizeF( width, height ) ) );
setScene( scene );

View File

@ -2046,6 +2046,7 @@ CloseWindowView::CloseWindowView( QWidget* parent )
qreal height = form->size().height() + top + bottom;
m_frame->resizeFrame( QSizeF( width, height ) );
Plasma::WindowEffects::enableBlurBehind( winId(), true, m_frame->mask() );
Plasma::WindowEffects::overrideShadow( winId(), true );
form->setPos( left, top );
scene->setSceneRect( QRectF( QPointF( 0, 0 ), QSizeF( width, height ) ) );
setScene( scene );