From 3470845dcffb90b06d05d45e1d8eecc52803511b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Wed, 3 Feb 2010 17:43:47 +0000 Subject: [PATCH] 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 --- client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.cpp b/client.cpp index ba75a36d0c..d727549c14 100644 --- a/client.cpp +++ b/client.cpp @@ -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(); }