{"action":"created","issue":{"url":"https://api.github.com/repos/electron/electron/issues/15257","repository_url":"https://api.github.com/repos/electron/electron","labels_url":"https://api.github.com/repos/electron/electron/issues/15257/labels{/name}","comments_url":"https://api.github.com/repos/electron/electron/issues/15257/comments","events_url":"https://api.github.com/repos/electron/electron/issues/15257/events","html_url":"https://github.com/electron/electron/pull/15257","id":371724950,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI0MTA3OTU3","number":15257,"title":"fix: correct reversed logic in NativeWindowMac::SetEnabled","user":{"login":"BinaryMuse","id":189606,"node_id":"MDQ6VXNlcjE4OTYwNg==","avatar_url":"https://avatars0.githubusercontent.com/u/189606?v=4","gravatar_id":"","url":"https://api.github.com/users/BinaryMuse","html_url":"https://github.com/BinaryMuse","followers_url":"https://api.github.com/users/BinaryMuse/followers","following_url":"https://api.github.com/users/BinaryMuse/following{/other_user}","gists_url":"https://api.github.com/users/BinaryMuse/gists{/gist_id}","starred_url":"https://api.github.com/users/BinaryMuse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BinaryMuse/subscriptions","organizations_url":"https://api.github.com/users/BinaryMuse/orgs","repos_url":"https://api.github.com/users/BinaryMuse/repos","events_url":"https://api.github.com/users/BinaryMuse/events{/privacy}","received_events_url":"https://api.github.com/users/BinaryMuse/received_events","type":"User","site_admin":true},"labels":[{"id":97403606,"node_id":"MDU6TGFiZWw5NzQwMzYwNg==","url":"https://api.github.com/repos/electron/electron/labels/platform/macOS","name":"platform/macOS","color":"c7def8","default":false},{"id":859325560,"node_id":"MDU6TGFiZWw4NTkzMjU1NjA=","url":"https://api.github.com/repos/electron/electron/labels/target/2-0-x","name":"target/2-0-x","color":"f22fa2","default":false},{"id":969709864,"node_id":"MDU6TGFiZWw5Njk3MDk4NjQ=","url":"https://api.github.com/repos/electron/electron/labels/target/3-0-x","name":"target/3-0-x","color":"f22fa2","default":false},{"id":1086970368,"node_id":"MDU6TGFiZWwxMDg2OTcwMzY4","url":"https://api.github.com/repos/electron/electron/labels/target/4-0-x","name":"target/4-0-x","color":"f22fa2","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-10-18T21:40:29Z","updated_at":"2018-10-22T21:01:45Z","closed_at":"2018-10-22T20:01:46Z","author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/electron/electron/pulls/15257","html_url":"https://github.com/electron/electron/pull/15257","diff_url":"https://github.com/electron/electron/pull/15257.diff","patch_url":"https://github.com/electron/electron/pull/15257.patch"},"body":"#### Description of Change\r\n\r\nThe logic in `NativeWindowMac::SetEnabled` is reversed. This PR simply switches it around.\r\n\r\n![](https://media.giphy.com/media/mjCaQoS4O7jEs/giphy.gif)\r\n\r\n#### Checklist\r\n<!-- Remove items that do not apply. For completed items, change [ ] to [x]. -->\r\n\r\n- [x] PR description included and stakeholders cc'd\r\n- [x] `npm test` passes\r\n- [x] PR title follows semantic [commit guidelines](https://github.com/electron/electron/blob/master/docs/development/pull-requests.md#commit-message-guidelines)\r\n\r\n\r\n#### Release Notes\r\n<!-- Used to describe release notes for future release versions. Use `no-notes` to indicate no user-facing changes. -->\r\n\r\nNotes: fix: correct reversed logic in BrowserWindow#setEnabled on macOS"},"comment":{"url":"https://api.github.com/repos/electron/electron/issues/comments/431984583","html_url":"https://github.com/electron/electron/pull/15257#issuecomment-431984583","issue_url":"https://api.github.com/repos/electron/electron/issues/15257","id":431984583,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTk4NDU4Mw==","user":{"login":"release-clerk[bot]","id":42386326,"node_id":"MDM6Qm90NDIzODYzMjY=","avatar_url":"https://avatars0.githubusercontent.com/in/16104?v=4","gravatar_id":"","url":"https://api.github.com/users/release-clerk%5Bbot%5D","html_url":"https://github.com/apps/release-clerk","followers_url":"https://api.github.com/users/release-clerk%5Bbot%5D/followers","following_url":"https://api.github.com/users/release-clerk%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/release-clerk%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/release-clerk%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/release-clerk%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/release-clerk%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/release-clerk%5Bbot%5D/repos","events_url":"https://api.github.com/users/release-clerk%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/release-clerk%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-10-22T21:01:45Z","updated_at":"2018-10-22T21:01:45Z","author_association":"NONE","body":"**Release Notes Persisted**\n\n> fix: correct reversed logic in BrowserWindow#setEnabled on macOS"}}
{"actor":{"display_login":"release-clerk"}}