On Sat, Jun 07, 2003 at 02:56:31PM +0300, Tuomo Valkonen wrote:
> > It seems like it could be useful to be able to obtain more general data
> > about a WMPlex; it looks like the geometry information is exported, but
> > I don't see any information about the number of frames/workspaces being
> > managed or the relative position of the active element in the list. 
> 
> (mplex|screen|genframe)_current
> (mplex|screen|genframe)_managed_list
> mplex_nth_managed (I seem to have omitted this from the aliases)
> 
> I might add a mplex_managed_count export, but at the moment the following
> should do it:
> 
> function mplex_managed_count(mplex)
>     return table.getn(mplex_managed_list(mplex))
> end
> 
> and to get the position of the current element, you could just search the
> list.

OK, I can probably make something work by that route.  Thanks.

Paul


Reply via email to