Fixed global border interaction with cascade stack

This commit is contained in:
Josh Timmer 2015-08-31 03:22:57 -04:00
parent bb2fd2acbe
commit 8ef10adb95
1 changed files with 2 additions and 2 deletions

View File

@ -153,7 +153,7 @@ function cascadetile.arrange(p)
g = {}
g.width = slavewid - current_offset_x - 2*bw
g.height = wa.height - current_offset_y - 2*bw
g.x = wa.x + mainwid + (how_many - (i - 1)) * cascadetile.offset_x
g.x = wa.x + mainwid + (how_many - (i - 1)) * cascadetile.offset_x + global_border
g.y = wa.y + (i - 2) * cascadetile.offset_y + global_border
if useless_gap > 0
then