From 7453006a5ddffea0716d77fb304c72f73412e423 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Fri, 20 Jun 2008 16:21:03 +0000 Subject: [PATCH] Make sure the geometry tip is visible. BUG: 163997 svn path=/trunk/KDE/kdebase/workspace/; revision=822551 --- geometry.cpp | 4 +--- geometrytip.cpp | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) 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);