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
This commit is contained in:
parent
07cab1bae9
commit
4e1fd9e494
1 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@
|
|||
#include <QtGui/QPolygon>
|
||||
#include <QtCore/QTimer>
|
||||
|
||||
#include <kdeversion.h>
|
||||
#include <KDebug>
|
||||
|
||||
#include "x11util.h"
|
||||
#include <QtGui/QX11Info>
|
||||
|
@ -44,7 +44,7 @@ namespace Oxygen
|
|||
|
||||
//_____________________________________________
|
||||
OxygenSizeGrip::OxygenSizeGrip( OxygenClient* client ):
|
||||
QWidget( client->widget(), Qt::ToolTip ),
|
||||
QWidget( 0 ),
|
||||
client_( client )
|
||||
{
|
||||
|
||||
|
|
Loading…
Reference in a new issue