From 8ef10adb95d69f213e6fb5c27ef26f53c1fcb082 Mon Sep 17 00:00:00 2001 From: Josh Timmer <0ohexxo0@gmail.com> Date: Mon, 31 Aug 2015 03:22:57 -0400 Subject: [PATCH 1/1] Fixed global border interaction with cascade stack --- layout/cascadetile.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5