diff --git a/js/ui/workspace.js b/js/ui/workspace.js index a93ec2726..cb3c212ee 100644 --- a/js/ui/workspace.js +++ b/js/ui/workspace.js @@ -464,7 +464,7 @@ var WorkspaceLayout = GObject.registerClass({ const [leftOversize, rightOversize] = window.chromeWidths(); if (rowSpacing) - rowSpacing += Math.max(topOversize, bottomOversize); + rowSpacing += topOversize + bottomOversize; if (colSpacing) colSpacing += Math.max(leftOversize, rightOversize);