This GeometryTip is not acceptable.

- Make it "opt-in" configurable, not default to on
   - I have had instances of the widget being stuck on the screen and eventually
     causing a kwin crash
   - It conflicts nicely with konsole's resize widget

svn path=/trunk/kdebase/kwin/; revision=198652
icc-effect-5.14.5
George Staikos 2003-01-10 04:03:57 +00:00
parent c83fb9c2e2
commit b35e581f69
1 changed files with 4 additions and 0 deletions

View File

@ -1797,6 +1797,7 @@ void Client::mouseMoveEvent( QMouseEvent * e)
drawbound( geom ); drawbound( geom );
} }
#if 0
// Position and Size display // Position and Size display
if (!geometryTip) if (!geometryTip)
geometryTip = new GeometryTip( this, &xSizeHint ); geometryTip = new GeometryTip( this, &xSizeHint );
@ -1806,6 +1807,7 @@ void Client::mouseMoveEvent( QMouseEvent * e)
geometryTip->show(); geometryTip->show();
geometryTip->raise(); geometryTip->raise();
} }
#endif
} }
else if ( isMove() && geom.topLeft() != geometry().topLeft() ) { else if ( isMove() && geom.topLeft() != geometry().topLeft() ) {
geom.moveTopLeft( workspace()->adjustClientPosition( this, geom.topLeft() ) ); geom.moveTopLeft( workspace()->adjustClientPosition( this, geom.topLeft() ) );
@ -1827,6 +1829,7 @@ void Client::mouseMoveEvent( QMouseEvent * e)
break; break;
} }
#if 0
// Position and Size display // Position and Size display
if (!geometryTip) if (!geometryTip)
geometryTip = new GeometryTip( this, &xSizeHint ); geometryTip = new GeometryTip( this, &xSizeHint );
@ -1836,6 +1839,7 @@ void Client::mouseMoveEvent( QMouseEvent * e)
geometryTip->show(); geometryTip->show();
geometryTip->raise(); geometryTip->raise();
} }
#endif
} }
if ( isMove() ) if ( isMove() )