Hello,

    Tuomo> Oops. Use WMPlex.llist(1) for the layer1 objects, and llist(2) for 
layer2
    Tuomo> stuff if you want to move those as well.

Here is a working function to collapse to the Laptop screen:

    function go_home ()
       local screen1 = ioncore.find_screen_id(0)
       local screen2 = ioncore.find_screen_id(1)
       for _, r in WMPlex.llist(screen2,1) do
           screen1:attach(r)
       end
    end

To do the reverse, I would like circle through the workspaces on the
laptop screen any warp them individually to the LCD screen.  How do I
determine the active workspace?  There is no single function, right?
I have to loop through WMPlex.llist() and test for WRegion.current()?

Ulrich Pfeifer

Reply via email to