Hi,
I want to write a function (code below) to get a list of all running
clients in a menu. In fact, the code is already in the default
configuration, but I just get it working by placing the function as an
entry in another menu.
Called by an entry of this menu, everything works fine, but when I call
the function directly via keybind just nothing happens and there isn't
any output by awesome either. I tried different arguments for
awful.menu:clients, but nothing changes (or I just by accident didn't
spot the right combination).

Does anyone spot the problem?

Thanks in advance,
Manuel


The used function:

function showWindowlist()
    if instance then
        instance:hide()
        instance = nil
    else
        instance = awful.menu:clients({ width=500 })
        --instance:show() -- doesn't change anything
    end
end

-- 
To unsubscribe, send mail to [email protected].

Reply via email to