]> git.madduck.net Git - etc/awesome.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Fixed global border interaction with cascade stack
authorJosh Timmer <0ohexxo0@gmail.com>
Mon, 31 Aug 2015 07:22:57 +0000 (03:22 -0400)
committerJosh Timmer <0ohexxo0@gmail.com>
Mon, 31 Aug 2015 07:22:57 +0000 (03:22 -0400)
layout/cascadetile.lua

index 8e8abb4cc28c3c74a8940c2a508fd90df5a72c3f..d1e48e40bc67ded1e8a97180ec568a85c6bec87a 100644 (file)
@@ -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