Oops, forgot something (no, I haven't tried the code):
On Fri, Jan 16, 2004 at 05:29:26PM +0200, Tuomo Valkonen wrote:
> local function marked_get_winprop(cwin)
> local props=orig_get_winprop(cwin)
> if not marked then
> return props
> end
> local newprops=copy(props or {})
> newprops.target=marked:name()
marked=nil
^^^^^^^^^^
> return newprops
> end -- Tuomo
