From 4e1fd9e494ce9b6821ce74966ce7388708edd134 Mon Sep 17 00:00:00 2001 From: Hugo Pereira Da Costa Date: Sat, 17 Oct 2009 00:18:40 +0000 Subject: [PATCH] Do not create sizeGrip as a child of KDecoration::Widget since it is reparented. That allows one not to make it a Qt::ToolTip (which for some reason makes kwin use 100% cpu), and prevents it to be registered by paintRedirector svn path=/trunk/KDE/kdebase/workspace/; revision=1036320 --- clients/oxygen/oxygensizegrip.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/oxygen/oxygensizegrip.cpp b/clients/oxygen/oxygensizegrip.cpp index ec7908660c..8782823a7e 100644 --- a/clients/oxygen/oxygensizegrip.cpp +++ b/clients/oxygen/oxygensizegrip.cpp @@ -33,7 +33,7 @@ #include #include -#include +#include #include "x11util.h" #include @@ -44,7 +44,7 @@ namespace Oxygen //_____________________________________________ OxygenSizeGrip::OxygenSizeGrip( OxygenClient* client ): - QWidget( client->widget(), Qt::ToolTip ), + QWidget( 0 ), client_( client ) {