On 2005-07-25, Ted Zlatanov <[EMAIL PROTECTED]> wrote:
> I have this in my configuration for WIonsWS bindings:
>
> kpress("Shift+Pause", "WIonWS.unsplit_at(_, _sub)"),
>
> 2 questions:
>
> 1) why does unsplit on an empty WIonWS delete the WS? That seems
> wrong.
It used to be called destroy_frame, in which case it is right, and the
corresponding menu entry is also "Destroy frame".
> 2) how do I delete a workspace? e.g. _ in a Lua query doesn't have a
> method I can use.
WIonWSs are destroyed automagically when the last frame is destroyed.
Empty WFloatWSs can be closed like any other objects: Mod1+C. If you
really really want to destroy workspaces that are not empty, set the
second parameter to WRegion.rqclose to true.
--
Tuomo