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:

replace custom firefox focus hack with new activate filter
authormartin f. krafft <>
Thu, 29 Sep 2016 12:55:31 +0000 (14:55 +0200)
committermartin f. krafft <>
Thu, 29 Sep 2016 12:55:31 +0000 (14:55 +0200)

index ee17164090fd57a3cddf4c3ae358b2f57f1e1c85..b2b49c337be12b159f540d439fc12d10211249f5 100644 (file)
@@ -666,14 +666,6 @@ end)
 client.connect_signal("focus", function(c) c.border_color = beautiful.border_focus end)
 client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_normal end)
-client.disconnect_signal("request::activate", awful.ewmh.activate)
-client.connect_signal("request::activate", function(c, context, hints)
-    if c.class == "Firefox" and context == "ewmh" then
-        return
-    end
-    return awful.ewmh.activate(c, context, hints)
--- }}}
+awful.ewmh.add_activate_filter(function(c) if c.class == "Firefox" then return false end end)
 -- vim:ft=lua:sw=4:sts=4:ts=4:et