{"action":"created","comment":{"url":"https://api.github.com/repos/swaywm/sway/pulls/comments/186295885","pull_request_review_id":117848511,"id":186295885,"diff_hunk":"@@ -427,7 +540,29 @@ static void render_container_simple(struct sway_output *output,\n  */\n static void render_container_tabbed(struct sway_output *output,\n \t\tstruct sway_container *con) {\n-\t// TODO\n+\tstruct sway_seat *seat = input_manager_current_seat(input_manager);\n+\tstruct sway_container *focus = seat_get_focus(seat);\n+\tstruct wlr_texture **title_texture = get_title_textures(con);\n+\n+\tfor (int i = 0; i < con->children->length; ++i) {","path":"sway/desktop/output.c","position":257,"original_position":257,"commit_id":"22fef8c63ca62f4ff697be89455d0486ec6bd3a0","original_commit_id":"22fef8c63ca62f4ff697be89455d0486ec6bd3a0","user":{"login":"Dudemanguy911","id":5105515,"avatar_url":"https://avatars1.githubusercontent.com/u/5105515?v=4","gravatar_id":"","url":"https://api.github.com/users/Dudemanguy911","html_url":"https://github.com/Dudemanguy911","followers_url":"https://api.github.com/users/Dudemanguy911/followers","following_url":"https://api.github.com/users/Dudemanguy911/following{/other_user}","gists_url":"https://api.github.com/users/Dudemanguy911/gists{/gist_id}","starred_url":"https://api.github.com/users/Dudemanguy911/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dudemanguy911/subscriptions","organizations_url":"https://api.github.com/users/Dudemanguy911/orgs","repos_url":"https://api.github.com/users/Dudemanguy911/repos","events_url":"https://api.github.com/users/Dudemanguy911/events{/privacy}","received_events_url":"https://api.github.com/users/Dudemanguy911/received_events","type":"User","site_admin":false},"body":"Do you mean to render the tab/title for every child within the loop? I thought @SirCmpwn didn't want to take that approach and wanted the tab/title to be only rendered for one child and for the logic for the other tabs to come from there. Please correct me if I'm misunderstanding either one of you.","created_at":"2018-05-06T16:31:36Z","updated_at":"2018-05-06T16:31:36Z","html_url":"https://github.com/swaywm/sway/pull/1908#discussion_r186295885","pull_request_url":"https://api.github.com/repos/swaywm/sway/pulls/1908","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/swaywm/sway/pulls/comments/186295885"},"html":{"href":"https://github.com/swaywm/sway/pull/1908#discussion_r186295885"},"pull_request":{"href":"https://api.github.com/repos/swaywm/sway/pulls/1908"}},"in_reply_to_id":186280071},"pull_request":{"url":"https://api.github.com/repos/swaywm/sway/pulls/1908","id":185838055,"html_url":"https://github.com/swaywm/sway/pull/1908","diff_url":"https://github.com/swaywm/sway/pull/1908.diff","patch_url":"https://github.com/swaywm/sway/pull/1908.patch","issue_url":"https://api.github.com/repos/swaywm/sway/issues/1908","number":1908,"state":"open","locked":false,"title":"Add tabbed layout","user":{"login":"Dudemanguy911","id":5105515,"avatar_url":"https://avatars1.githubusercontent.com/u/5105515?v=4","gravatar_id":"","url":"https://api.github.com/users/Dudemanguy911","html_url":"https://github.com/Dudemanguy911","followers_url":"https://api.github.com/users/Dudemanguy911/followers","following_url":"https://api.github.com/users/Dudemanguy911/following{/other_user}","gists_url":"https://api.github.com/users/Dudemanguy911/gists{/gist_id}","starred_url":"https://api.github.com/users/Dudemanguy911/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dudemanguy911/subscriptions","organizations_url":"https://api.github.com/users/Dudemanguy911/orgs","repos_url":"https://api.github.com/users/Dudemanguy911/repos","events_url":"https://api.github.com/users/Dudemanguy911/events{/privacy}","received_events_url":"https://api.github.com/users/Dudemanguy911/received_events","type":"User","site_admin":false},"body":"This adds tabbed windows to the layout. The `apply_tabbed_layout` function certainly could be utilized for the stacked layout like in 0.15, but that can be tackled later.","created_at":"2018-05-03T21:06:31Z","updated_at":"2018-05-06T16:31:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f954ba5e0eb1b22b3e92b6a13a0c080be666f6ad","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/swaywm/sway/pulls/1908/commits","review_comments_url":"https://api.github.com/repos/swaywm/sway/pulls/1908/comments","review_comment_url":"https://api.github.com/repos/swaywm/sway/pulls/comments{/number}","comments_url":"https://api.github.com/repos/swaywm/sway/issues/1908/comments","statuses_url":"https://api.github.com/repos/swaywm/sway/statuses/22fef8c63ca62f4ff697be89455d0486ec6bd3a0","head":{"label":"Dudemanguy911:add-tabbed-windows","ref":"add-tabbed-windows","sha":"22fef8c63ca62f4ff697be89455d0486ec6bd3a0","user":{"login":"Dudemanguy911","id":5105515,"avatar_url":"https://avatars1.githubusercontent.com/u/5105515?v=4","gravatar_id":"","url":"https://api.github.com/users/Dudemanguy911","html_url":"https://github.com/Dudemanguy911","followers_url":"https://api.github.com/users/Dudemanguy911/followers","following_url":"https://api.github.com/users/Dudemanguy911/following{/other_user}","gists_url":"https://api.github.com/users/Dudemanguy911/gists{/gist_id}","starred_url":"https://api.github.com/users/Dudemanguy911/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dudemanguy911/subscriptions","organizations_url":"https://api.github.com/users/Dudemanguy911/orgs","repos_url":"https://api.github.com/users/Dudemanguy911/repos","events_url":"https://api.github.com/users/Dudemanguy911/events{/privacy}","received_events_url":"https://api.github.com/users/Dudemanguy911/received_events","type":"User","site_admin":false},"repo":{"id":131318155,"name":"sway","full_name":"Dudemanguy911/sway","owner":{"login":"Dudemanguy911","id":5105515,"avatar_url":"https://avatars1.githubusercontent.com/u/5105515?v=4","gravatar_id":"","url":"https://api.github.com/users/Dudemanguy911","html_url":"https://github.com/Dudemanguy911","followers_url":"https://api.github.com/users/Dudemanguy911/followers","following_url":"https://api.github.com/users/Dudemanguy911/following{/other_user}","gists_url":"https://api.github.com/users/Dudemanguy911/gists{/gist_id}","starred_url":"https://api.github.com/users/Dudemanguy911/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dudemanguy911/subscriptions","organizations_url":"https://api.github.com/users/Dudemanguy911/orgs","repos_url":"https://api.github.com/users/Dudemanguy911/repos","events_url":"https://api.github.com/users/Dudemanguy911/events{/privacy}","received_events_url":"https://api.github.com/users/Dudemanguy911/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Dudemanguy911/sway","description":"i3-compatible Wayland compositor","fork":true,"url":"https://api.github.com/repos/Dudemanguy911/sway","forks_url":"https://api.github.com/repos/Dudemanguy911/sway/forks","keys_url":"https://api.github.com/repos/Dudemanguy911/sway/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Dudemanguy911/sway/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Dudemanguy911/sway/teams","hooks_url":"https://api.github.com/repos/Dudemanguy911/sway/hooks","issue_events_url":"https://api.github.com/repos/Dudemanguy911/sway/issues/events{/number}","events_url":"https://api.github.com/repos/Dudemanguy911/sway/events","assignees_url":"https://api.github.com/repos/Dudemanguy911/sway/assignees{/user}","branches_url":"https://api.github.com/repos/Dudemanguy911/sway/branches{/branch}","tags_url":"https://api.github.com/repos/Dudemanguy911/sway/tags","blobs_url":"https://api.github.com/repos/Dudemanguy911/sway/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Dudemanguy911/sway/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Dudemanguy911/sway/git/refs{/sha}","trees_url":"https://api.github.com/repos/Dudemanguy911/sway/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Dudemanguy911/sway/statuses/{sha}","languages_url":"https://api.github.com/repos/Dudemanguy911/sway/languages","stargazers_url":"https://api.github.com/repos/Dudemanguy911/sway/stargazers","contributors_url":"https://api.github.com/repos/Dudemanguy911/sway/contributors","subscribers_url":"https://api.github.com/repos/Dudemanguy911/sway/subscribers","subscription_url":"https://api.github.com/repos/Dudemanguy911/sway/subscription","commits_url":"https://api.github.com/repos/Dudemanguy911/sway/commits{/sha}","git_commits_url":"https://api.github.com/repos/Dudemanguy911/sway/git/commits{/sha}","comments_url":"https://api.github.com/repos/Dudemanguy911/sway/comments{/number}","issue_comment_url":"https://api.github.com/repos/Dudemanguy911/sway/issues/comments{/number}","contents_url":"https://api.github.com/repos/Dudemanguy911/sway/contents/{+path}","compare_url":"https://api.github.com/repos/Dudemanguy911/sway/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Dudemanguy911/sway/merges","archive_url":"https://api.github.com/repos/Dudemanguy911/sway/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Dudemanguy911/sway/downloads","issues_url":"https://api.github.com/repos/Dudemanguy911/sway/issues{/number}","pulls_url":"https://api.github.com/repos/Dudemanguy911/sway/pulls{/number}","milestones_url":"https://api.github.com/repos/Dudemanguy911/sway/milestones{/number}","notifications_url":"https://api.github.com/repos/Dudemanguy911/sway/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Dudemanguy911/sway/labels{/name}","releases_url":"https://api.github.com/repos/Dudemanguy911/sway/releases{/id}","deployments_url":"https://api.github.com/repos/Dudemanguy911/sway/deployments","created_at":"2018-04-27T16:05:12Z","updated_at":"2018-04-27T16:05:15Z","pushed_at":"2018-05-06T04:35:26Z","git_url":"git://github.com/Dudemanguy911/sway.git","ssh_url":"git@github.com:Dudemanguy911/sway.git","clone_url":"https://github.com/Dudemanguy911/sway.git","svn_url":"https://github.com/Dudemanguy911/sway","homepage":"http://swaywm.org/","size":22898,"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"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"swaywm:master","ref":"master","sha":"eda57e7761485f08c1bde0ef3e6a619d1b48348e","user":{"login":"swaywm","id":32400794,"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,"name":"sway","full_name":"swaywm/sway","owner":{"login":"swaywm","id":32400794,"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-05-06T14:53:27Z","pushed_at":"2018-05-06T12:52:28Z","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":22898,"stargazers_count":3852,"watchers_count":3852,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":242,"mirror_url":null,"archived":false,"open_issues_count":209,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":242,"open_issues":209,"watchers":3852,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/swaywm/sway/pulls/1908"},"html":{"href":"https://github.com/swaywm/sway/pull/1908"},"issue":{"href":"https://api.github.com/repos/swaywm/sway/issues/1908"},"comments":{"href":"https://api.github.com/repos/swaywm/sway/issues/1908/comments"},"review_comments":{"href":"https://api.github.com/repos/swaywm/sway/pulls/1908/comments"},"review_comment":{"href":"https://api.github.com/repos/swaywm/sway/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/swaywm/sway/pulls/1908/commits"},"statuses":{"href":"https://api.github.com/repos/swaywm/sway/statuses/22fef8c63ca62f4ff697be89455d0486ec6bd3a0"}},"author_association":"NONE"}}
{"actor":{"display_login":"Dudemanguy911"}}