{"action":"created","issue":{"url":"https://api.github.com/repos/koekeishiya/kwm/issues/281","repository_url":"https://api.github.com/repos/koekeishiya/kwm","labels_url":"https://api.github.com/repos/koekeishiya/kwm/issues/281/labels{/name}","comments_url":"https://api.github.com/repos/koekeishiya/kwm/issues/281/comments","events_url":"https://api.github.com/repos/koekeishiya/kwm/issues/281/events","html_url":"https://github.com/koekeishiya/kwm/issues/281","id":145712472,"number":281,"title":"Should focus app when switching spaces","user":{"login":"matthewdias","id":3302524,"avatar_url":"https://avatars.githubusercontent.com/u/3302524?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewdias","html_url":"https://github.com/matthewdias","followers_url":"https://api.github.com/users/matthewdias/followers","following_url":"https://api.github.com/users/matthewdias/following{/other_user}","gists_url":"https://api.github.com/users/matthewdias/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewdias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewdias/subscriptions","organizations_url":"https://api.github.com/users/matthewdias/orgs","repos_url":"https://api.github.com/users/matthewdias/repos","events_url":"https://api.github.com/users/matthewdias/events{/privacy}","received_events_url":"https://api.github.com/users/matthewdias/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/koekeishiya/kwm/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/koekeishiya/kwm/labels/maybe","name":"maybe","color":"bfdadc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-04-04T15:08:30Z","updated_at":"2016-04-18T04:16:57Z","closed_at":null,"body":"When you switch to a space via an app using the dock or command-tab, kwm retains the focus of the app that was previously focused on the space by design. I think it would make more sense to override this and focus the selected app in these cases."},"comment":{"url":"https://api.github.com/repos/koekeishiya/kwm/issues/comments/211193302","html_url":"https://github.com/koekeishiya/kwm/issues/281#issuecomment-211193302","issue_url":"https://api.github.com/repos/koekeishiya/kwm/issues/281","id":211193302,"user":{"login":"matthewdias","id":3302524,"avatar_url":"https://avatars.githubusercontent.com/u/3302524?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewdias","html_url":"https://github.com/matthewdias","followers_url":"https://api.github.com/users/matthewdias/followers","following_url":"https://api.github.com/users/matthewdias/following{/other_user}","gists_url":"https://api.github.com/users/matthewdias/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewdias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewdias/subscriptions","organizations_url":"https://api.github.com/users/matthewdias/orgs","repos_url":"https://api.github.com/users/matthewdias/repos","events_url":"https://api.github.com/users/matthewdias/events{/privacy}","received_events_url":"https://api.github.com/users/matthewdias/received_events","type":"User","site_admin":false},"created_at":"2016-04-18T04:16:57Z","updated_at":"2016-04-18T04:16:57Z","body":"this could be a candidate for code injection, unless theres some other unknown api for recognizing dock clicks and command-tab activations"}}