diff --git a/geometry.cpp b/geometry.cpp index f56d96c1c2..cf3a3eb6b9 100644 --- a/geometry.cpp +++ b/geometry.cpp @@ -2308,10 +2308,8 @@ void Client::positionGeometryTip() wgeom.setHeight( 0 ); geometryTip->setGeometry( wgeom ); if( !geometryTip->isVisible()) - { geometryTip->show(); - geometryTip->raise(); - } + geometryTip->raise(); } } diff --git a/geometrytip.cpp b/geometrytip.cpp index 0dc41467cd..0e0bc3500b 100644 --- a/geometrytip.cpp +++ b/geometrytip.cpp @@ -27,7 +27,7 @@ namespace KWin GeometryTip::GeometryTip( const XSizeHints* xSizeHints, bool save_under ): QLabel( 0 ) { - setObjectName( "kwingeometry" ); + setObjectName( "kwingeometry" ); setMargin(1); setIndent(0); setLineWidth(1);