Hi, has anyone previously figured out a way to produce a list of all the windows on a workspace in lua? What I'm particuarly trying to do is, for a given screen containing a WIonWS with various frames and floating splits, produce a list of all the clients (so that it can be used as the start of building actions to be used in a pmenu). At the moment I'm trying the "obvious" strategy of finding the screen with
client:rootwin_of():current_scr() and then trying to recurse down through all the various types of contents to accumulate a list of end clients. It's getting horribly complicated and I'm wondering if there's an easier way/it's already been done? (If it helps, there's no need to deal properly with exotic things like embedded workspaces, etc.) Many thanks for any insight, -- __cheers, dave____________________________________________ homepages.inf.ed.ac.uk/dtweed/ tel: +44 131 651 3447 JCMB, Kings Buildings, Edinburgh fax: +44 131 651 3435 X wrote a book about this, which Y was carrying around for a long time with little discernible effect -- John Baez
