{"action":"closed","number":2182,"pull_request":{"url":"https://api.github.com/repos/swaywm/sway/pulls/2182","id":198501552,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4NTAxNTUy","html_url":"https://github.com/swaywm/sway/pull/2182","diff_url":"https://github.com/swaywm/sway/pull/2182.diff","patch_url":"https://github.com/swaywm/sway/pull/2182.patch","issue_url":"https://api.github.com/repos/swaywm/sway/issues/2182","number":2182,"state":"closed","locked":false,"title":"Don't send frame done to surfaces behind lockscreen","user":{"login":"RyanDwyer","id":2436833,"node_id":"MDQ6VXNlcjI0MzY4MzM=","avatar_url":"https://avatars3.githubusercontent.com/u/2436833?v=4","gravatar_id":"","url":"https://api.github.com/users/RyanDwyer","html_url":"https://github.com/RyanDwyer","followers_url":"https://api.github.com/users/RyanDwyer/followers","following_url":"https://api.github.com/users/RyanDwyer/following{/other_user}","gists_url":"https://api.github.com/users/RyanDwyer/gists{/gist_id}","starred_url":"https://api.github.com/users/RyanDwyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RyanDwyer/subscriptions","organizations_url":"https://api.github.com/users/RyanDwyer/orgs","repos_url":"https://api.github.com/users/RyanDwyer/repos","events_url":"https://api.github.com/users/RyanDwyer/events{/privacy}","received_events_url":"https://api.github.com/users/RyanDwyer/received_events","type":"User","site_admin":false},"body":"Also, when rendering, don't descend into the tree if the lockscreen is active. Just render the lockscreen's surfaces.\r\n\r\nThis makes an assumption that an `exclusive_client` will always be a lockscreen. This assumption is also made when handling `bindsym --locked` so I think it's a safe assumption.\r\n\r\nThis PR paints black behind the lockscreen, so if your lockscreen uses transparency or doesn't cover the whole layout for some reason then you'll just see black there. I know some people like to have their lock shortcut take a screenshot, blur it and apply it as the lockscreen background, and this is still possible.\r\n\r\nMaybe my fans will spin down when my computer is locked now.","created_at":"2018-07-01T01:06:51Z","updated_at":"2018-07-06T15:35:03Z","closed_at":"2018-07-06T15:35:03Z","merged_at":"2018-07-06T15:35:03Z","merge_commit_sha":"55c54bb63b82ee75e1893b48b3ce18f7317c6199","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/swaywm/sway/pulls/2182/commits","review_comments_url":"https://api.github.com/repos/swaywm/sway/pulls/2182/comments","review_comment_url":"https://api.github.com/repos/swaywm/sway/pulls/comments{/number}","comments_url":"https://api.github.com/repos/swaywm/sway/issues/2182/comments","statuses_url":"https://api.github.com/repos/swaywm/sway/statuses/464d4d58892597f31da3fcdbcfcd7928643a9ec3","head":{"label":"RyanDwyer:lockscreen-performance","ref":"lockscreen-performance","sha":"464d4d58892597f31da3fcdbcfcd7928643a9ec3","user":{"login":"RyanDwyer","id":2436833,"node_id":"MDQ6VXNlcjI0MzY4MzM=","avatar_url":"https://avatars3.githubusercontent.com/u/2436833?v=4","gravatar_id":"","url":"https://api.github.com/users/RyanDwyer","html_url":"https://github.com/RyanDwyer","followers_url":"https://api.github.com/users/RyanDwyer/followers","following_url":"https://api.github.com/users/RyanDwyer/following{/other_user}","gists_url":"https://api.github.com/users/RyanDwyer/gists{/gist_id}","starred_url":"https://api.github.com/users/RyanDwyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RyanDwyer/subscriptions","organizations_url":"https://api.github.com/users/RyanDwyer/orgs","repos_url":"https://api.github.com/users/RyanDwyer/repos","events_url":"https://api.github.com/users/RyanDwyer/events{/privacy}","received_events_url":"https://api.github.com/users/RyanDwyer/received_events","type":"User","site_admin":false},"repo":{"id":68437977,"node_id":"MDEwOlJlcG9zaXRvcnk2ODQzNzk3Nw==","name":"sway","full_name":"RyanDwyer/sway","owner":{"login":"RyanDwyer","id":2436833,"node_id":"MDQ6VXNlcjI0MzY4MzM=","avatar_url":"https://avatars3.githubusercontent.com/u/2436833?v=4","gravatar_id":"","url":"https://api.github.com/users/RyanDwyer","html_url":"https://github.com/RyanDwyer","followers_url":"https://api.github.com/users/RyanDwyer/followers","following_url":"https://api.github.com/users/RyanDwyer/following{/other_user}","gists_url":"https://api.github.com/users/RyanDwyer/gists{/gist_id}","starred_url":"https://api.github.com/users/RyanDwyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RyanDwyer/subscriptions","organizations_url":"https://api.github.com/users/RyanDwyer/orgs","repos_url":"https://api.github.com/users/RyanDwyer/repos","events_url":"https://api.github.com/users/RyanDwyer/events{/privacy}","received_events_url":"https://api.github.com/users/RyanDwyer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/RyanDwyer/sway","description":"i3-compatible Wayland compositor","fork":true,"url":"https://api.github.com/repos/RyanDwyer/sway","forks_url":"https://api.github.com/repos/RyanDwyer/sway/forks","keys_url":"https://api.github.com/repos/RyanDwyer/sway/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RyanDwyer/sway/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RyanDwyer/sway/teams","hooks_url":"https://api.github.com/repos/RyanDwyer/sway/hooks","issue_events_url":"https://api.github.com/repos/RyanDwyer/sway/issues/events{/number}","events_url":"https://api.github.com/repos/RyanDwyer/sway/events","assignees_url":"https://api.github.com/repos/RyanDwyer/sway/assignees{/user}","branches_url":"https://api.github.com/repos/RyanDwyer/sway/branches{/branch}","tags_url":"https://api.github.com/repos/RyanDwyer/sway/tags","blobs_url":"https://api.github.com/repos/RyanDwyer/sway/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RyanDwyer/sway/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RyanDwyer/sway/git/refs{/sha}","trees_url":"https://api.github.com/repos/RyanDwyer/sway/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RyanDwyer/sway/statuses/{sha}","languages_url":"https://api.github.com/repos/RyanDwyer/sway/languages","stargazers_url":"https://api.github.com/repos/RyanDwyer/sway/stargazers","contributors_url":"https://api.github.com/repos/RyanDwyer/sway/contributors","subscribers_url":"https://api.github.com/repos/RyanDwyer/sway/subscribers","subscription_url":"https://api.github.com/repos/RyanDwyer/sway/subscription","commits_url":"https://api.github.com/repos/RyanDwyer/sway/commits{/sha}","git_commits_url":"https://api.github.com/repos/RyanDwyer/sway/git/commits{/sha}","comments_url":"https://api.github.com/repos/RyanDwyer/sway/comments{/number}","issue_comment_url":"https://api.github.com/repos/RyanDwyer/sway/issues/comments{/number}","contents_url":"https://api.github.com/repos/RyanDwyer/sway/contents/{+path}","compare_url":"https://api.github.com/repos/RyanDwyer/sway/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RyanDwyer/sway/merges","archive_url":"https://api.github.com/repos/RyanDwyer/sway/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RyanDwyer/sway/downloads","issues_url":"https://api.github.com/repos/RyanDwyer/sway/issues{/number}","pulls_url":"https://api.github.com/repos/RyanDwyer/sway/pulls{/number}","milestones_url":"https://api.github.com/repos/RyanDwyer/sway/milestones{/number}","notifications_url":"https://api.github.com/repos/RyanDwyer/sway/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RyanDwyer/sway/labels{/name}","releases_url":"https://api.github.com/repos/RyanDwyer/sway/releases{/id}","deployments_url":"https://api.github.com/repos/RyanDwyer/sway/deployments","created_at":"2016-09-17T07:19:41Z","updated_at":"2018-06-03T21:42:13Z","pushed_at":"2018-07-06T15:19:29Z","git_url":"git://github.com/RyanDwyer/sway.git","ssh_url":"git@github.com:RyanDwyer/sway.git","clone_url":"https://github.com/RyanDwyer/sway.git","svn_url":"https://github.com/RyanDwyer/sway","homepage":"http://swaywm.org/","size":23433,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"swaywm:master","ref":"master","sha":"b8ee88344a5e2869fd3ce04762eda305dc5bf62e","user":{"login":"swaywm","id":32400794,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyNDAwNzk0","avatar_url":"https://avatars1.githubusercontent.com/u/32400794?v=4","gravatar_id":"","url":"https://api.github.com/users/swaywm","html_url":"https://github.com/swaywm","followers_url":"https://api.github.com/users/swaywm/followers","following_url":"https://api.github.com/users/swaywm/following{/other_user}","gists_url":"https://api.github.com/users/swaywm/gists{/gist_id}","starred_url":"https://api.github.com/users/swaywm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swaywm/subscriptions","organizations_url":"https://api.github.com/users/swaywm/orgs","repos_url":"https://api.github.com/users/swaywm/repos","events_url":"https://api.github.com/users/swaywm/events{/privacy}","received_events_url":"https://api.github.com/users/swaywm/received_events","type":"Organization","site_admin":false},"repo":{"id":40217904,"node_id":"MDEwOlJlcG9zaXRvcnk0MDIxNzkwNA==","name":"sway","full_name":"swaywm/sway","owner":{"login":"swaywm","id":32400794,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyNDAwNzk0","avatar_url":"https://avatars1.githubusercontent.com/u/32400794?v=4","gravatar_id":"","url":"https://api.github.com/users/swaywm","html_url":"https://github.com/swaywm","followers_url":"https://api.github.com/users/swaywm/followers","following_url":"https://api.github.com/users/swaywm/following{/other_user}","gists_url":"https://api.github.com/users/swaywm/gists{/gist_id}","starred_url":"https://api.github.com/users/swaywm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swaywm/subscriptions","organizations_url":"https://api.github.com/users/swaywm/orgs","repos_url":"https://api.github.com/users/swaywm/repos","events_url":"https://api.github.com/users/swaywm/events{/privacy}","received_events_url":"https://api.github.com/users/swaywm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/swaywm/sway","description":"i3-compatible Wayland compositor","fork":false,"url":"https://api.github.com/repos/swaywm/sway","forks_url":"https://api.github.com/repos/swaywm/sway/forks","keys_url":"https://api.github.com/repos/swaywm/sway/keys{/key_id}","collaborators_url":"https://api.github.com/repos/swaywm/sway/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/swaywm/sway/teams","hooks_url":"https://api.github.com/repos/swaywm/sway/hooks","issue_events_url":"https://api.github.com/repos/swaywm/sway/issues/events{/number}","events_url":"https://api.github.com/repos/swaywm/sway/events","assignees_url":"https://api.github.com/repos/swaywm/sway/assignees{/user}","branches_url":"https://api.github.com/repos/swaywm/sway/branches{/branch}","tags_url":"https://api.github.com/repos/swaywm/sway/tags","blobs_url":"https://api.github.com/repos/swaywm/sway/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/swaywm/sway/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/swaywm/sway/git/refs{/sha}","trees_url":"https://api.github.com/repos/swaywm/sway/git/trees{/sha}","statuses_url":"https://api.github.com/repos/swaywm/sway/statuses/{sha}","languages_url":"https://api.github.com/repos/swaywm/sway/languages","stargazers_url":"https://api.github.com/repos/swaywm/sway/stargazers","contributors_url":"https://api.github.com/repos/swaywm/sway/contributors","subscribers_url":"https://api.github.com/repos/swaywm/sway/subscribers","subscription_url":"https://api.github.com/repos/swaywm/sway/subscription","commits_url":"https://api.github.com/repos/swaywm/sway/commits{/sha}","git_commits_url":"https://api.github.com/repos/swaywm/sway/git/commits{/sha}","comments_url":"https://api.github.com/repos/swaywm/sway/comments{/number}","issue_comment_url":"https://api.github.com/repos/swaywm/sway/issues/comments{/number}","contents_url":"https://api.github.com/repos/swaywm/sway/contents/{+path}","compare_url":"https://api.github.com/repos/swaywm/sway/compare/{base}...{head}","merges_url":"https://api.github.com/repos/swaywm/sway/merges","archive_url":"https://api.github.com/repos/swaywm/sway/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/swaywm/sway/downloads","issues_url":"https://api.github.com/repos/swaywm/sway/issues{/number}","pulls_url":"https://api.github.com/repos/swaywm/sway/pulls{/number}","milestones_url":"https://api.github.com/repos/swaywm/sway/milestones{/number}","notifications_url":"https://api.github.com/repos/swaywm/sway/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/swaywm/sway/labels{/name}","releases_url":"https://api.github.com/repos/swaywm/sway/releases{/id}","deployments_url":"https://api.github.com/repos/swaywm/sway/deployments","created_at":"2015-08-05T01:31:45Z","updated_at":"2018-07-06T15:03:42Z","pushed_at":"2018-07-06T15:35:03Z","git_url":"git://github.com/swaywm/sway.git","ssh_url":"git@github.com:swaywm/sway.git","clone_url":"https://github.com/swaywm/sway.git","svn_url":"https://github.com/swaywm/sway","homepage":"http://swaywm.org/","size":23689,"stargazers_count":4015,"watchers_count":4015,"language":"C","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":264,"mirror_url":null,"archived":false,"open_issues_count":231,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":264,"open_issues":231,"watchers":4015,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/swaywm/sway/pulls/2182"},"html":{"href":"https://github.com/swaywm/sway/pull/2182"},"issue":{"href":"https://api.github.com/repos/swaywm/sway/issues/2182"},"comments":{"href":"https://api.github.com/repos/swaywm/sway/issues/2182/comments"},"review_comments":{"href":"https://api.github.com/repos/swaywm/sway/pulls/2182/comments"},"review_comment":{"href":"https://api.github.com/repos/swaywm/sway/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/swaywm/sway/pulls/2182/commits"},"statuses":{"href":"https://api.github.com/repos/swaywm/sway/statuses/464d4d58892597f31da3fcdbcfcd7928643a9ec3"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"SirCmpwn","id":1310872,"node_id":"MDQ6VXNlcjEzMTA4NzI=","avatar_url":"https://avatars0.githubusercontent.com/u/1310872?v=4","gravatar_id":"","url":"https://api.github.com/users/SirCmpwn","html_url":"https://github.com/SirCmpwn","followers_url":"https://api.github.com/users/SirCmpwn/followers","following_url":"https://api.github.com/users/SirCmpwn/following{/other_user}","gists_url":"https://api.github.com/users/SirCmpwn/gists{/gist_id}","starred_url":"https://api.github.com/users/SirCmpwn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SirCmpwn/subscriptions","organizations_url":"https://api.github.com/users/SirCmpwn/orgs","repos_url":"https://api.github.com/users/SirCmpwn/repos","events_url":"https://api.github.com/users/SirCmpwn/events{/privacy}","received_events_url":"https://api.github.com/users/SirCmpwn/received_events","type":"User","site_admin":false},"comments":14,"review_comments":7,"maintainer_can_modify":false,"commits":7,"additions":80,"deletions":1,"changed_files":3}}
{"actor":{"display_login":"SirCmpwn"}}