Replace do_show with !noBorder(). This should prevent a crash in conjunction with Plasma netbook.

I think it's too late in the cycle to backport to 4.4.0 so if it does not cause any other problems, I will backport to 4.4 branch.
(In case I forget to backport as I am busy with non-kwin issues, please remind me in the bugreport)
Thanks to Thomas Leineweber for providing the patch and investigating the issue.
BUG: 221868

svn path=/trunk/KDE/kdebase/workspace/; revision=1084748
icc-effect-5.14.5
Martin Gräßlin 2010-02-03 17:43:47 +00:00
parent 5a852ac75b
commit 3470845dcf
1 changed files with 1 additions and 1 deletions

View File

@ -366,7 +366,7 @@ void Client::updateDecoration( bool check_workspace_pos, bool force )
if( check_workspace_pos )
checkWorkspacePosition();
blockGeometryUpdates( false );
if( do_show )
if( !noBorder() )
decoration->widget()->show();
updateFrameExtents();
}