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
This commit is contained in:
parent
c83fb9c2e2
commit
b35e581f69
1 changed files with 4 additions and 0 deletions
|
@ -1797,6 +1797,7 @@ void Client::mouseMoveEvent( QMouseEvent * e)
|
|||
drawbound( geom );
|
||||
}
|
||||
|
||||
#if 0
|
||||
// Position and Size display
|
||||
if (!geometryTip)
|
||||
geometryTip = new GeometryTip( this, &xSizeHint );
|
||||
|
@ -1806,6 +1807,7 @@ void Client::mouseMoveEvent( QMouseEvent * e)
|
|||
geometryTip->show();
|
||||
geometryTip->raise();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
else if ( isMove() && geom.topLeft() != geometry().topLeft() ) {
|
||||
geom.moveTopLeft( workspace()->adjustClientPosition( this, geom.topLeft() ) );
|
||||
|
@ -1827,6 +1829,7 @@ void Client::mouseMoveEvent( QMouseEvent * e)
|
|||
break;
|
||||
}
|
||||
|
||||
#if 0
|
||||
// Position and Size display
|
||||
if (!geometryTip)
|
||||
geometryTip = new GeometryTip( this, &xSizeHint );
|
||||
|
@ -1836,6 +1839,7 @@ void Client::mouseMoveEvent( QMouseEvent * e)
|
|||
geometryTip->show();
|
||||
geometryTip->raise();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
if ( isMove() )
|
||||
|
|
Loading…
Reference in a new issue