From: Josh Timmer <0ohexxo0@gmail.com> Date: Mon, 31 Aug 2015 07:22:57 +0000 (-0400) Subject: Fixed global border interaction with cascade stack X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/8ef10adb95d69f213e6fb5c27ef26f53c1fcb082?ds=inline;hp=--cc Fixed global border interaction with cascade stack --- 8ef10adb95d69f213e6fb5c27ef26f53c1fcb082 diff --git a/layout/cascadetile.lua b/layout/cascadetile.lua index 8e8abb4..d1e48e4 100644 --- a/layout/cascadetile.lua +++ b/layout/cascadetile.lua @@ -152,8 +152,8 @@ function cascadetile.arrange(p) c = cls[i] 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.height = wa.height - current_offset_y - 2*bw + 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