Fix bug in dockapp placement (wrapping at right/lower edge). Fix by davey?
SVN revision: 27570
This commit is contained in:
parent
407a3c99cf
commit
af3cc9f6ef
|
@ -112,7 +112,7 @@ DockappFindEmptySpotFor(EWin * eapp)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (x < 0 || y < 0 || x + w >= VRoot.w || y + h >= VRoot.h)
|
if (x < 0 || y < 0 || x + w > VRoot.w || y + h > VRoot.h)
|
||||||
{
|
{
|
||||||
x = VRoot.w - w / 2;
|
x = VRoot.w - w / 2;
|
||||||
y = VRoot.h - h / 2;
|
y = VRoot.h - h / 2;
|
||||||
|
|
Loading…
Reference in New Issue