{"action":"opened","issue":{"url":"https://api.github.com/repos/atom/electron/issues/2772","labels_url":"https://api.github.com/repos/atom/electron/issues/2772/labels{/name}","comments_url":"https://api.github.com/repos/atom/electron/issues/2772/comments","events_url":"https://api.github.com/repos/atom/electron/issues/2772/events","html_url":"https://github.com/atom/electron/issues/2772","id":106282226,"number":2772,"title":"Provide a way to find out if focus is in dev tools","user":{"login":"bpasero","id":900690,"avatar_url":"https://avatars.githubusercontent.com/u/900690?v=3","gravatar_id":"","url":"https://api.github.com/users/bpasero","html_url":"https://github.com/bpasero","followers_url":"https://api.github.com/users/bpasero/followers","following_url":"https://api.github.com/users/bpasero/following{/other_user}","gists_url":"https://api.github.com/users/bpasero/gists{/gist_id}","starred_url":"https://api.github.com/users/bpasero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bpasero/subscriptions","organizations_url":"https://api.github.com/users/bpasero/orgs","repos_url":"https://api.github.com/users/bpasero/repos","events_url":"https://api.github.com/users/bpasero/events{/privacy}","received_events_url":"https://api.github.com/users/bpasero/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-14T06:53:34Z","updated_at":"2015-09-14T06:53:34Z","closed_at":null,"body":"I cannot find a way currently to check if the keyboard focus is within devtools of a window or not. My use case is that I want to treat some actions from the menu specially, when focus is in dev tools."}}