backport r837891

svn path=/branches/KDE/4.1/kdebase/workspace/; revision=855126
This commit is contained in:
Luboš Luňák 2008-08-31 08:35:20 +00:00
parent 841a8f984c
commit 335db5f3df

View file

@ -543,7 +543,7 @@ WindowQuadList WindowQuadList::splitAtX( double x ) const
{
if( quad[ i ].x() < x )
wholeright = false;
if( quad[ i ].x() >= x )
if( quad[ i ].x() > x )
wholeleft = false;
}
if( wholeleft || wholeright ) // is whole in one split part
@ -574,7 +574,7 @@ WindowQuadList WindowQuadList::splitAtY( double y ) const
{
if( quad[ i ].y() < y )
wholebottom = false;
if( quad[ i ].y() >= y )
if( quad[ i ].y() > y )
wholetop = false;
}
if( wholetop || wholebottom ) // is whole in one split part