]> git.madduck.net Git - etc/awesome.git/blobdiff - layout/uselesstile.lua

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:

Moving moc to contrib and adding license information
[etc/awesome.git] / layout / uselesstile.lua
index eccfdadbff024b19c628d7a65d220b598078de97..65ce9b5ef9a88f351582c26d4a3684d0fc0de2ec 100644 (file)
@@ -80,8 +80,8 @@ local function tile_group(cls, wa, orientation, fact, group)
         local i = c - group.first +1
         geom[width] = size - global_border - (bw * 2)
         geom[height] = math.floor(unused * fact[i] / total_fact) - (bw * 2)
         local i = c - group.first +1
         geom[width] = size - global_border - (bw * 2)
         geom[height] = math.floor(unused * fact[i] / total_fact) - (bw * 2)
-        geom[x] = group.coord + global_border + (useless_gap / 2)
-        geom[y] = coord + global_border + (useless_gap / 2)
+        geom[x] = group.coord + global_border
+        geom[y] = coord + global_border
 
         coord = coord + geom[height]
         unused = unused - geom[height]
 
         coord = coord + geom[height]
         unused = unused - geom[height]