{"action":"created","issue":{"url":"https://api.github.com/repos/awesomeWM/awesome/issues/77","labels_url":"https://api.github.com/repos/awesomeWM/awesome/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/awesomeWM/awesome/issues/77/comments","events_url":"https://api.github.com/repos/awesomeWM/awesome/issues/77/events","html_url":"https://github.com/awesomeWM/awesome/issues/77","id":54391165,"number":77,"title":"Fake input cannot bypass Awesome keys (shortcuts)","user":{"login":"michaelbeaumont","id":2266568,"avatar_url":"https://avatars.githubusercontent.com/u/2266568?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelbeaumont","html_url":"https://github.com/michaelbeaumont","followers_url":"https://api.github.com/users/michaelbeaumont/followers","following_url":"https://api.github.com/users/michaelbeaumont/following{/other_user}","gists_url":"https://api.github.com/users/michaelbeaumont/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelbeaumont/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelbeaumont/subscriptions","organizations_url":"https://api.github.com/users/michaelbeaumont/orgs","repos_url":"https://api.github.com/users/michaelbeaumont/repos","events_url":"https://api.github.com/users/michaelbeaumont/events{/privacy}","received_events_url":"https://api.github.com/users/michaelbeaumont/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/awesomeWM/awesome/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/awesomeWM/awesome/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":22,"created_at":"2015-01-14T23:14:35Z","updated_at":"2015-12-17T01:52:37Z","closed_at":null,"body":"When using fake inputs with or without keygrabbers, Awesome always intercepts the input. While this is the expected behavior, it doesn't cover many use cases. Awesome needs to support sending raw inputs to clients without intercepting them. The workaround when using keygrabber is to stop and restart it between fake inputs, but there is no equivalent hack for `capi.key`.\r\n\r\n**Original:**\r\nIn the docs for `awful.keygrabber`, it's mentioned that a keygrabber can return `false` to pass the keypress to the next grabber on the stack. As far as I can tell, although a stack is maintained in `awful.keygrabber`, `keygrabber.c` simply passes the keys to the last run grabber and a keygrabber will swallow a keypress no matter what.\r\n\r\nIt would make keygrabbers much more flexible if they behaved as described."},"comment":{"url":"https://api.github.com/repos/awesomeWM/awesome/issues/comments/165312149","html_url":"https://github.com/awesomeWM/awesome/issues/77#issuecomment-165312149","issue_url":"https://api.github.com/repos/awesomeWM/awesome/issues/77","id":165312149,"user":{"login":"jack836","id":16317632,"avatar_url":"https://avatars.githubusercontent.com/u/16317632?v=3","gravatar_id":"","url":"https://api.github.com/users/jack836","html_url":"https://github.com/jack836","followers_url":"https://api.github.com/users/jack836/followers","following_url":"https://api.github.com/users/jack836/following{/other_user}","gists_url":"https://api.github.com/users/jack836/gists{/gist_id}","starred_url":"https://api.github.com/users/jack836/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jack836/subscriptions","organizations_url":"https://api.github.com/users/jack836/orgs","repos_url":"https://api.github.com/users/jack836/repos","events_url":"https://api.github.com/users/jack836/events{/privacy}","received_events_url":"https://api.github.com/users/jack836/received_events","type":"User","site_admin":false},"created_at":"2015-12-17T01:52:36Z","updated_at":"2015-12-17T01:52:36Z","body":"Ah! Got it! The issue was, I had to add the root.keys(globalkeys) at the\nend. Now it works fine and I like it very much. Thank you for your\nthoughtful reply considering my knowledge level.\n\nDeleting the last two threads was good. I will add this topic to the\nmailing list and point to the solution here in case it might be useful to\nsomeone like me. Thank you for all your efforts.\n\nOn Wed, Dec 16, 2015 at 11:43 PM, Uli Schlachter <notifications@github.com>\nwrote:\n\n> @jack836 <https://github.com/jack836> I now tested this and updated the\n> code from my above comment. I changed two things: Instead of \"Esc\" this is\n> now bound to mod+d (because \"Esc\" needs to be written \"Escape\" and because\n> the default config already has some other keybinding for mod+Esc) and I\n> added a call to root.keys(globalkeys) at the end, so that this also works\n> if appended to the very end of the config. Besides that, this works fine\n> for me here.\n>\n> About spamming: If you don't mind, I will just delete these last two\n> comments (and keep my previous reply). If you want somewhere to move this\n> to... dunno, the mailing list? Reporting your own issue/thread isn't really\n> the way to go, because this isn't about a bug in awesome.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/awesomeWM/awesome/issues/77#issuecomment-165129562>.\n>\n"}}