From: Philipp H. <ph...@ph...> - 2012-01-19 14:22:18
|
On Fri, Jan 13, 2012 at 11:57:20PM +0000, David Given wrote: > <annoying license pedant> > Except some countries don't have a public domain. Not that anyone will > ever actually *care* for a snippet so small as this, but for more info > see here: http://creativecommons.org/about/cc0 > </annoying license pedant> You are right, apparently German law (which is the one relevant for me) doesn't know such a thing as the public domain. Oh well ... By the way the gotoclient_by_shortname should probably check whether s is actually set like this: --- SNIP --- gotoclient_by_shortname = function(sn) local s ioncore.clientwin_i(function(cwin) local winprop = ioncore.getwinprop(cwin) if winprop and winprop.shortname == sn then s=cwin return false else return true end end) if s then s:goto() return true else return false end end --- SNAP --- Regards, Philipp |