madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://<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 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://"]
  insteadOf = madduck: check if client is still valid before setting geometry
authorcopycat-killer <>
Sat, 19 Nov 2016 11:32:29 +0000 (12:32 +0100)
committercopycat-killer <>
Sat, 19 Nov 2016 11:32:29 +0000 (12:32 +0100)

index 70d8e52aa717f27b493a73557a4e3ab100a29413..5fe8213dfae623bc906cefde22eb3ad137810cd9 100644 (file)
@@ -98,7 +98,7 @@ function
     g.height = math.sqrt(mwfact) * mg.height
     g.x = mg.x + (mg.width - g.width) / 2
     g.y = mg.y + (mg.height - g.height) / 2
-    c:geometry(g)
+    if c then c:geometry(g) end -- if c is still a valid object
 -- Read the nice value of pid from /proc.