fix resizing windows in RTL mode
now the left border is moved instead of the right one, as it should be :) to test the patch simply run kwin -reverse, and then open konqui and the config windows, press each one of the categories and you will see. svn path=/trunk/kdebase/kwin/; revision=252546
This commit is contained in:
parent
9ca67c1618
commit
380280cf76
1 changed files with 5 additions and 0 deletions
|
@ -832,6 +832,11 @@ 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 ));
|
||||
|
|
Loading…
Reference in a new issue