workspace: Actually apply top overlap to the top
The top overlap is accidentally being applied to the left edge right now, fix that and apply it correctly to the top edge. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1698>
This commit is contained in:
parent
51348c6020
commit
9e8ceeae9d
@ -470,9 +470,9 @@ var WorkspaceLayout = GObject.registerClass({
|
|||||||
|
|
||||||
if (containerBox) {
|
if (containerBox) {
|
||||||
const [topOverlap, bottomOverlap] = window.overlapHeights();
|
const [topOverlap, bottomOverlap] = window.overlapHeights();
|
||||||
containerBox.x1 += leftOversize + topOverlap;
|
containerBox.x1 += leftOversize;
|
||||||
containerBox.x2 -= rightOversize;
|
containerBox.x2 -= rightOversize;
|
||||||
containerBox.y1 += topOversize;
|
containerBox.y1 += topOversize + topOverlap;
|
||||||
containerBox.y2 -= bottomOversize + bottomOverlap;
|
containerBox.y2 -= bottomOversize + bottomOverlap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user