On Mon, 25 Jul 2005, [EMAIL PROTECTED] wrote:
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".
[...]
> WIonWSs are destroyed automagically when the last frame is destroyed.
Perhaps I'm the only one, but this seems wrong. The automatic
destruction should at least have a confirmation y/n, which of course
can be turned off for advanced users. At least for me, destroying a
workspace is annoying because I move among them based on index number.
Also, how is this feature useful, when Mod1+C exists?
>> 2) how do I delete a workspace? e.g. _ in a Lua query doesn't have a method
>> I
>> can use.
>
> 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.
I think this is a useful method, can it be made a first-class wrapper,
e.g. _.forcedestroy or something like that?
Thanks
Ted