CT: wasn't smart placement act a bit strange? This fixes it.
svn path=/trunk/kdebase/kwin/; revision=36862
This commit is contained in:
parent
fe7681b639
commit
e3d3ed18d1
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue