Disable KWin shadow for the effect widgets in present windows and desktop grid
svn path=/trunk/KDE/kdebase/workspace/; revision=1189411
This commit is contained in:
parent
723f7d1a81
commit
357f9f4174
2 changed files with 2 additions and 0 deletions
|
@ -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 );
|
||||
|
|
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue