fooatom=ioncore.x_intern_atom("_ION_KLUDGES",false) ioncore.set_get_winprop_fn( function (cwin) local id=cwin:get_ident() local props, prop local kludges local x = ioncore.x_get_text_property( cwin.xid(cwin) , fooatom ) if (x) then code=loadstring(x[1]) if (code) then return assert(code)() end else return ioncore.getwinprop(cwin) end end )