try not to place windows behind always on top windows in smart
placement code. Fix found by Cristian Tibirna svn path=/trunk/kdebase/kwin/; revision=75050
This commit is contained in:
parent
c1eac4d5d0
commit
bd3140b6b7
1 changed files with 30 additions and 27 deletions
|
@ -1337,6 +1337,9 @@ void Workspace::smartPlacement(Client* c){
|
|||
(cyt < yb) && (cyb > yt)) {
|
||||
xl = QMAX(cxl, xl); xr = QMIN(cxr, xr);
|
||||
yt = QMAX(cyt, yt); yb = QMIN(cyb, yb);
|
||||
if((*l)->staysOnTop())
|
||||
overlap += 16 * (xr - xl) * (yb - yt);
|
||||
else
|
||||
overlap += (xr - xl) * (yb - yt);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue