This looks strange, whatever this is supposed to do. And if it's

"compile fixes for FreeBSD", then I'm a kangaroo.

svn path=/trunk/kdebase/kwin/; revision=295165
This commit is contained in:
Luboš Luňák 2004-03-11 12:59:55 +00:00
parent cc59587052
commit 8a9738e02f

View file

@ -234,19 +234,6 @@ bool Client::manage( Window w, bool isMapped )
{ {
bool ignorePPosition = ( options->ignorePositionClasses.contains(QString::fromLatin1(resourceClass()))); bool ignorePPosition = ( options->ignorePositionClasses.contains(QString::fromLatin1(resourceClass())));
if ((xSizeHint.flags & PPosition) && ! ignorePPosition)
{
int tx = geom.x();
int ty = geom.y();
// TODO tyhle testy nepocitaji s dekoraci, ani s gravity
if (tx < 0)
tx = area.right() + tx;
if (ty < 0)
ty = area.bottom() + ty;
geom.moveTopLeft(QPoint(tx, ty));
}
if ( ( (xSizeHint.flags & PPosition) && !ignorePPosition ) || if ( ( (xSizeHint.flags & PPosition) && !ignorePPosition ) ||
(xSizeHint.flags & USPosition) ) (xSizeHint.flags & USPosition) )
{ {