Hi,

I just upgraded to the git version of awesome from 3.0 and have some problems 
with the config, which worked in awesome 3.0:
I have a few functions, which enable me to close an application with Ctrl-x 
Ctrl-c:
----------
function ctrl_x_function(modifier,key)
   if key == "c" then
     if #modifier == 1 then
         if modifier[1]=="Control" then
                                   client.focus:kill()
                                         end
                                           end
   end
   keychaintextbox.text="-----"
   return false
end

function keychain_ctrl_x_add()
   keychaintextbox.text="<bg color=\"red\"/> <span 
color=\"green\">Ctrl-x</span> "
   keygrabber.run(ctrl_x_function)
end

keybinding({ "Control"}, "x", keychain_ctrl_x_add):add()
--------------

In 3.1, this does not work anymore. It works if I only test for key == "c" in 
the ctrl_c_function.
Has the keygrabber function changed?

Thanks!
Nathan


-- 
To unsubscribe, send mail to [EMAIL PROTECTED]

Reply via email to