From 807891fcb0562d26cf10996dd9ab9fe92160b91a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Fri, 24 Jul 2009 18:32:24 +0000 Subject: [PATCH] Initialize the padding variables. This could be the solution to the problems with non-bordered windows like KRunner and Yakuake. Anyone experience this problem please test and report if you still have crashes. CCBUG: 196877 svn path=/trunk/KDE/kdebase/workspace/; revision=1001997 --- client.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client.cpp b/client.cpp index 1a7f24a283..ce6cb8c817 100644 --- a/client.cpp +++ b/client.cpp @@ -117,6 +117,10 @@ Client::Client( Workspace* ws ) , sm_stacking_order( -1 ) , demandAttentionKNotifyTimer( NULL ) , paintRedirector( 0 ) + , padding_left( 0 ) + , padding_right( 0 ) + , padding_top( 0 ) + , padding_bottom( 0 ) { // TODO: Do all as initialization // Set the initial mapping state