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:
parent
cc59587052
commit
8a9738e02f
1 changed files with 0 additions and 13 deletions
13
manage.cpp
13
manage.cpp
|
@ -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) )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue