Tuomo Valkonen <[EMAIL PROTECTED]> writes: > The script doesn't work for me (detach.find_ws is missing, and as posted it > is broken anyway - please use attachments).
Sorry for the incomplete report. The full script can now be found here: http://www-verimag.imag.fr/~moy/tmp/detach.lua There's a variable make_ion_crash = true, that does what it says ... Open an xterm, call detach.topmost_transient_to_float(_sub, nil, false) on it, and close it. (save your work before ;-) The relevant lines are, at the end of the file, if detach.make_ion_crash then fws:rqclose_relocate() else fws:screen_of():l2_hide(fws) end (If you set it to false, it does what I expect : leave the layer 2 WS when it is empty. I'll submit this to the script repository when it will be a bit more stable) I guess there is something related to asynchrony of ion's attach function. -- Matthieu
