On Sat, May 29 2010, Perry Hargrave wrote:
> +--- Add a tag.
> +-- @param name The tag name, a string
> +-- @param props The tags properties, a table
> +-- @return The created tag
> +function add(name, props)
> + local properties = props or {}
> + local newtag = capi.tag{name = name}
> + newtag.screen = properties.screen or capi.mouse.screen
> +
> + if newtag ~= nil then[…] How can newtag be nil ? If it is ever nil, the line above setting the screen will fail horribly. Cheers, -- Julien Danjou // ᐰ <[email protected]> http://julien.danjou.info
pgpD28sAB9NER.pgp
Description: PGP signature
