Sorry, this is not right. For RTL, gravities should be used.

svn path=/trunk/kdebase/kwin/; revision=253608
This commit is contained in:
Luboš Luňák 2003-09-24 14:53:45 +00:00
parent 866fc75200
commit 3081abc4b8

View file

@ -845,11 +845,6 @@ void Client::setGeometry( int x, int y, int w, int h, bool force )
void Client::resize( int w, int h, bool force )
{ // TODO make this deffered with isResize() ? old kwin did
int deltaX = width() - w;
if (QApplication::reverseLayout()){
move( x() + deltaX, y() );
}
if( !force && frame_geometry.size() == QSize( w, h ))
return;
frame_geometry.setSize( QSize( w, h ));