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

@ -152,8 +152,8 @@ function cascadetile.arrange(p)
c = cls[i] c = cls[i]
g = {} g = {}
g.width = slavewid - current_offset_x - 2*bw g.width = slavewid - current_offset_x - 2*bw
g.height = wa.height - current_offset_y -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 g.y = wa.y + (i - 2) * cascadetile.offset_y + global_border
if useless_gap > 0 if useless_gap > 0
then then