From: Arnout E. <no...@bz...> - 2011-11-11 15:41:04
|
On Thu, Nov 10, 2011 at 11:02:16PM +0000, David Given wrote: > On 06/11/11 14:01, Arnout Engelen wrote: > > Even better might be to use the existing 'hook' infrastructure > > Is there any difference between doing things at this stage with a > clientwin_init hook, rather than adding the new hook after the winprop table > has been looked up in the Lua side of things? It *should* have the same > effect in the long run (winprops set by the hook override winprops set by > defwinprop). Iirc your original proposal was to have some 'default winprops' and then allow them to be overridden by individual defwinprop statements. Not sure if you can accomplish this with the clientwin_init hook, but by all means give it a try! Arnout |