Factor `awful.rules.apply_do` out of `apply`
commit9a5a8dc6e8e084f089926c032941c74cd1132624
authorDaniel Hahler <git@thequod.de>
Sun, 16 Mar 2014 00:45:31 +0000 (16 01:45 +0100)
committerUli Schlachter <psychon@znc.in>
Sun, 16 Mar 2014 19:20:14 +0000 (16 20:20 +0100)
treef87705f97dc1a37e2c8ce93edb254be9c6237d26
parentfed803a6bc710301188fb0f8afd1ecb467bf45df
Factor `awful.rules.apply_do` out of `apply`

This allows to apply properties and callbacks to a client like
awful.rules.apply would do, without the matching part.

This is useful with the new startup notifications, and lets you apply
the same properties and callbacks from e.g. a manage signal handler.
lib/awful/rules.lua.in