Hi all,

I'm new to the list.
 Ion2 is great, very fast, simple and efficient, and I like very much how it 
can be customize with Lua.  Thanks a lot to Tuomo Valkonen and any people 
that might have helped !

I tried some scripting, mostly with success, but here is one problem I met.
I want to bind a key to a function that focus the last active window and raise 
it if the workspace type is PWM.
Here is what I tried

function goto_prev_and_raise(s)
        goto_previous()
        local ws=WMPlex.current(s)
        if obj_typename(ws)=='WFloatWS' then
                local frame=WRegion.active_sub(s)
                WRegion.raise(frame)
        end
end

But it raises, not the frame of the newly - after got_previous - active client 
window but the initial window frame.

I guess I must be doing some mistake, but I can't find what it is.

Thanks for any help,

Denis

PS : I'm running ion2-20040207

Reply via email to