CT: wasn't smart placement act a bit strange? This fixes it.

svn path=/trunk/kdebase/kwin/; revision=36862
This commit is contained in:
Cristian Tibirna 1999-12-18 20:33:54 +00:00
parent fe7681b639
commit e3d3ed18d1

View file

@ -1131,7 +1131,7 @@ void Workspace::smartPlacement(Client* c){
possible = possible < xl - cw ? possible : xl - cw;
}
}
x = possible;
x_optimal = x = possible;
}
}
@ -1157,7 +1157,7 @@ void Workspace::smartPlacement(Client* c){
if( yt - ch > y )
possible = possible < yt - ch ? possible : yt - ch;
}
y = possible;
y_optimal = y = possible;
}
}
}