payload: {"action":"created","comment":{"url":"https://api.github.com/repos/raven-os/feathers/pulls/comments/279190733","pull_request_review_id":231464000,"id":279190733,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI3OTE5MDczMw==","diff_hunk":"@@ -28,6 +28,41 @@ Keyboard::Keyboard(Server *server, struct wlr_input_device *device) : server(ser\n         view->close();\n     };\n   }};\n+  shortcuts[\"Alt+F2\"] = {\"Toggle fullscreen\", [server](){\n+    if (wl_list_length(&server->views) >= 1)\n+      {\n+        View *view = wl_container_of(server->views.next, view, link);\n+\tif (!view->fullscreen)\n+\t  {\n+\t    wlr_xdg_surface_v6_get_geometry(view->xdg_surface, &view->saved);\n+\t    view->saved.x = view->x;\n+\t    view->saved.y = view->y;\n+\t    struct wlr_box *outputBox = wlr_output_layout_get_box(view->server->output->getLayout(), view->getOutput());\n+\t    wlr_xdg_toplevel_v6_set_size(view->xdg_surface, outputBox->width, outputBox->height);\n+\t    view->x = 0;\n+\t    view->y = 0;\n+\t    wlr_xdg_toplevel_v6_set_fullscreen(view->xdg_surface, true);\n+\t  }\n+\telse\n+\t  {\n+\t    wlr_xdg_toplevel_v6_set_fullscreen(view->xdg_surface, false);\n+\t    wlr_xdg_toplevel_v6_set_size(view->xdg_surface, view->saved.width, view->saved.height);\n+\t    view->x = view->saved.x;\n+\t    view->y = view->saved.y;\n+\t  }\n+\tview->fullscreen = !view->fullscreen;\n+      }\n+  }};\n+  shortcuts[\"Alt+Tab\"] = {\"Switch window\", [server](){","path":"source/Keyboard.cpp","position":52,"original_position":29,"commit_id":"a12a3d3267e1b853e38ec08bc497d2e54b7a3a53","original_commit_id":"473f74134c7588dc5afe28b48e14f1c56ec1c1c9","user":{"login":"riamon-v","id":19188004,"node_id":"MDQ6VXNlcjE5MTg4MDA0","avatar_url":"https://avatars1.githubusercontent.com/u/19188004?v=4","gravatar_id":"","url":"https://api.github.com/users/riamon-v","html_url":"https://github.com/riamon-v","followers_url":"https://api.github.com/users/riamon-v/followers","following_url":"https://api.github.com/users/riamon-v/following{/other_user}","gists_url":"https://api.github.com/users/riamon-v/gists{/gist_id}","starred_url":"https://api.github.com/users/riamon-v/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riamon-v/subscriptions","organizations_url":"https://api.github.com/users/riamon-v/orgs","repos_url":"https://api.github.com/users/riamon-v/repos","events_url":"https://api.github.com/users/riamon-v/events{/privacy}","received_events_url":"https://api.github.com/users/riamon-v/received_events","type":"User","site_admin":false},"body":"Actually, in all other system you can \"Alt+Tab\" while one of your window is in fullscreen ","created_at":"2019-04-28T11:40:27Z","updated_at":"2019-04-28T11:40:27Z","html_url":"https://github.com/raven-os/feathers/pull/36#discussion_r279190733","pull_request_url":"https://api.github.com/repos/raven-os/feathers/pulls/36","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/raven-os/feathers/pulls/comments/279190733"},"html":{"href":"https://github.com/raven-os/feathers/pull/36#discussion_r279190733"},"pull_request":{"href":"https://api.github.com/repos/raven-os/feathers/pulls/36"}},"in_reply_to_id":279151468},"pull_request":{"url":"https://api.github.com/repos/raven-os/feathers/pulls/36","id":274098506,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjc0MDk4NTA2","html_url":"https://github.com/raven-os/feathers/pull/36","diff_url":"https://github.com/raven-os/feathers/pull/36.diff","patch_url":"https://github.com/raven-os/feathers/pull/36.patch","issue_url":"https://api.github.com/repos/raven-os/feathers/issues/36","number":36,"state":"open","locked":false,"title":"Fullscreen","user":{"login":"davidzeng8","id":15807786,"node_id":"MDQ6VXNlcjE1ODA3Nzg2","avatar_url":"https://avatars3.githubusercontent.com/u/15807786?v=4","gravatar_id":"","url":"https://api.github.com/users/davidzeng8","html_url":"https://github.com/davidzeng8","followers_url":"https://api.github.com/users/davidzeng8/followers","following_url":"https://api.github.com/users/davidzeng8/following{/other_user}","gists_url":"https://api.github.com/users/davidzeng8/gists{/gist_id}","starred_url":"https://api.github.com/users/davidzeng8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidzeng8/subscriptions","organizations_url":"https://api.github.com/users/davidzeng8/orgs","repos_url":"https://api.github.com/users/davidzeng8/repos","events_url":"https://api.github.com/users/davidzeng8/events{/privacy}","received_events_url":"https://api.github.com/users/davidzeng8/received_events","type":"User","site_admin":false},"body":"Added fullscreen support as requested in #23 \r\nCloses #23","created_at":"2019-04-27T10:43:27Z","updated_at":"2019-04-28T11:40:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"73a26c726260fa43ea63d81ef4768c447f751348","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/raven-os/feathers/pulls/36/commits","review_comments_url":"https://api.github.com/repos/raven-os/feathers/pulls/36/comments","review_comment_url":"https://api.github.com/repos/raven-os/feathers/pulls/comments{/number}","comments_url":"https://api.github.com/repos/raven-os/feathers/issues/36/comments","statuses_url":"https://api.github.com/repos/raven-os/feathers/statuses/a12a3d3267e1b853e38ec08bc497d2e54b7a3a53","head":{"label":"raven-os:fullscreen","ref":"fullscreen","sha":"a12a3d3267e1b853e38ec08bc497d2e54b7a3a53","user":{"login":"raven-os","id":32273549,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyMjczNTQ5","avatar_url":"https://avatars2.githubusercontent.com/u/32273549?v=4","gravatar_id":"","url":"https://api.github.com/users/raven-os","html_url":"https://github.com/raven-os","followers_url":"https://api.github.com/users/raven-os/followers","following_url":"https://api.github.com/users/raven-os/following{/other_user}","gists_url":"https://api.github.com/users/raven-os/gists{/gist_id}","starred_url":"https://api.github.com/users/raven-os/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raven-os/subscriptions","organizations_url":"https://api.github.com/users/raven-os/orgs","repos_url":"https://api.github.com/users/raven-os/repos","events_url":"https://api.github.com/users/raven-os/events{/privacy}","received_events_url":"https://api.github.com/users/raven-os/received_events","type":"Organization","site_admin":false},"repo":{"id":167251655,"node_id":"MDEwOlJlcG9zaXRvcnkxNjcyNTE2NTU=","name":"feathers","full_name":"raven-os/feathers","private":false,"owner":{"login":"raven-os","id":32273549,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyMjczNTQ5","avatar_url":"https://avatars2.githubusercontent.com/u/32273549?v=4","gravatar_id":"","url":"https://api.github.com/users/raven-os","html_url":"https://github.com/raven-os","followers_url":"https://api.github.com/users/raven-os/followers","following_url":"https://api.github.com/users/raven-os/following{/other_user}","gists_url":"https://api.github.com/users/raven-os/gists{/gist_id}","starred_url":"https://api.github.com/users/raven-os/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raven-os/subscriptions","organizations_url":"https://api.github.com/users/raven-os/orgs","repos_url":"https://api.github.com/users/raven-os/repos","events_url":"https://api.github.com/users/raven-os/events{/privacy}","received_events_url":"https://api.github.com/users/raven-os/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/raven-os/feathers","description":"A graphical compositor for Raven-OS","fork":false,"url":"https://api.github.com/repos/raven-os/feathers","forks_url":"https://api.github.com/repos/raven-os/feathers/forks","keys_url":"https://api.github.com/repos/raven-os/feathers/keys{/key_id}","collaborators_url":"https://api.github.com/repos/raven-os/feathers/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/raven-os/feathers/teams","hooks_url":"https://api.github.com/repos/raven-os/feathers/hooks","issue_events_url":"https://api.github.com/repos/raven-os/feathers/issues/events{/number}","events_url":"https://api.github.com/repos/raven-os/feathers/events","assignees_url":"https://api.github.com/repos/raven-os/feathers/assignees{/user}","branches_url":"https://api.github.com/repos/raven-os/feathers/branches{/branch}","tags_url":"https://api.github.com/repos/raven-os/feathers/tags","blobs_url":"https://api.github.com/repos/raven-os/feathers/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/raven-os/feathers/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/raven-os/feathers/git/refs{/sha}","trees_url":"https://api.github.com/repos/raven-os/feathers/git/trees{/sha}","statuses_url":"https://api.github.com/repos/raven-os/feathers/statuses/{sha}","languages_url":"https://api.github.com/repos/raven-os/feathers/languages","stargazers_url":"https://api.github.com/repos/raven-os/feathers/stargazers","contributors_url":"https://api.github.com/repos/raven-os/feathers/contributors","subscribers_url":"https://api.github.com/repos/raven-os/feathers/subscribers","subscription_url":"https://api.github.com/repos/raven-os/feathers/subscription","commits_url":"https://api.github.com/repos/raven-os/feathers/commits{/sha}","git_commits_url":"https://api.github.com/repos/raven-os/feathers/git/commits{/sha}","comments_url":"https://api.github.com/repos/raven-os/feathers/comments{/number}","issue_comment_url":"https://api.github.com/repos/raven-os/feathers/issues/comments{/number}","contents_url":"https://api.github.com/repos/raven-os/feathers/contents/{+path}","compare_url":"https://api.github.com/repos/raven-os/feathers/compare/{base}...{head}","merges_url":"https://api.github.com/repos/raven-os/feathers/merges","archive_url":"https://api.github.com/repos/raven-os/feathers/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/raven-os/feathers/downloads","issues_url":"https://api.github.com/repos/raven-os/feathers/issues{/number}","pulls_url":"https://api.github.com/repos/raven-os/feathers/pulls{/number}","milestones_url":"https://api.github.com/repos/raven-os/feathers/milestones{/number}","notifications_url":"https://api.github.com/repos/raven-os/feathers/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/raven-os/feathers/labels{/name}","releases_url":"https://api.github.com/repos/raven-os/feathers/releases{/id}","deployments_url":"https://api.github.com/repos/raven-os/feathers/deployments","created_at":"2019-01-23T20:46:55Z","updated_at":"2019-04-27T11:54:13Z","pushed_at":"2019-04-28T11:34:21Z","git_url":"git://github.com/raven-os/feathers.git","ssh_url":"git@github.com:raven-os/feathers.git","clone_url":"https://github.com/raven-os/feathers.git","svn_url":"https://github.com/raven-os/feathers","homepage":"","size":119,"stargazers_count":3,"watchers_count":3,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":10,"license":null,"forks":0,"open_issues":10,"watchers":3,"default_branch":"master"}},"base":{"label":"raven-os:master","ref":"master","sha":"bc26f97fc6647580513be8d8367b326aa6bb0124","user":{"login":"raven-os","id":32273549,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyMjczNTQ5","avatar_url":"https://avatars2.githubusercontent.com/u/32273549?v=4","gravatar_id":"","url":"https://api.github.com/users/raven-os","html_url":"https://github.com/raven-os","followers_url":"https://api.github.com/users/raven-os/followers","following_url":"https://api.github.com/users/raven-os/following{/other_user}","gists_url":"https://api.github.com/users/raven-os/gists{/gist_id}","starred_url":"https://api.github.com/users/raven-os/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raven-os/subscriptions","organizations_url":"https://api.github.com/users/raven-os/orgs","repos_url":"https://api.github.com/users/raven-os/repos","events_url":"https://api.github.com/users/raven-os/events{/privacy}","received_events_url":"https://api.github.com/users/raven-os/received_events","type":"Organization","site_admin":false},"repo":{"id":167251655,"node_id":"MDEwOlJlcG9zaXRvcnkxNjcyNTE2NTU=","name":"feathers","full_name":"raven-os/feathers","private":false,"owner":{"login":"raven-os","id":32273549,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyMjczNTQ5","avatar_url":"https://avatars2.githubusercontent.com/u/32273549?v=4","gravatar_id":"","url":"https://api.github.com/users/raven-os","html_url":"https://github.com/raven-os","followers_url":"https://api.github.com/users/raven-os/followers","following_url":"https://api.github.com/users/raven-os/following{/other_user}","gists_url":"https://api.github.com/users/raven-os/gists{/gist_id}","starred_url":"https://api.github.com/users/raven-os/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raven-os/subscriptions","organizations_url":"https://api.github.com/users/raven-os/orgs","repos_url":"https://api.github.com/users/raven-os/repos","events_url":"https://api.github.com/users/raven-os/events{/privacy}","received_events_url":"https://api.github.com/users/raven-os/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/raven-os/feathers","description":"A graphical compositor for Raven-OS","fork":false,"url":"https://api.github.com/repos/raven-os/feathers","forks_url":"https://api.github.com/repos/raven-os/feathers/forks","keys_url":"https://api.github.com/repos/raven-os/feathers/keys{/key_id}","collaborators_url":"https://api.github.com/repos/raven-os/feathers/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/raven-os/feathers/teams","hooks_url":"https://api.github.com/repos/raven-os/feathers/hooks","issue_events_url":"https://api.github.com/repos/raven-os/feathers/issues/events{/number}","events_url":"https://api.github.com/repos/raven-os/feathers/events","assignees_url":"https://api.github.com/repos/raven-os/feathers/assignees{/user}","branches_url":"https://api.github.com/repos/raven-os/feathers/branches{/branch}","tags_url":"https://api.github.com/repos/raven-os/feathers/tags","blobs_url":"https://api.github.com/repos/raven-os/feathers/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/raven-os/feathers/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/raven-os/feathers/git/refs{/sha}","trees_url":"https://api.github.com/repos/raven-os/feathers/git/trees{/sha}","statuses_url":"https://api.github.com/repos/raven-os/feathers/statuses/{sha}","languages_url":"https://api.github.com/repos/raven-os/feathers/languages","stargazers_url":"https://api.github.com/repos/raven-os/feathers/stargazers","contributors_url":"https://api.github.com/repos/raven-os/feathers/contributors","subscribers_url":"https://api.github.com/repos/raven-os/feathers/subscribers","subscription_url":"https://api.github.com/repos/raven-os/feathers/subscription","commits_url":"https://api.github.com/repos/raven-os/feathers/commits{/sha}","git_commits_url":"https://api.github.com/repos/raven-os/feathers/git/commits{/sha}","comments_url":"https://api.github.com/repos/raven-os/feathers/comments{/number}","issue_comment_url":"https://api.github.com/repos/raven-os/feathers/issues/comments{/number}","contents_url":"https://api.github.com/repos/raven-os/feathers/contents/{+path}","compare_url":"https://api.github.com/repos/raven-os/feathers/compare/{base}...{head}","merges_url":"https://api.github.com/repos/raven-os/feathers/merges","archive_url":"https://api.github.com/repos/raven-os/feathers/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/raven-os/feathers/downloads","issues_url":"https://api.github.com/repos/raven-os/feathers/issues{/number}","pulls_url":"https://api.github.com/repos/raven-os/feathers/pulls{/number}","milestones_url":"https://api.github.com/repos/raven-os/feathers/milestones{/number}","notifications_url":"https://api.github.com/repos/raven-os/feathers/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/raven-os/feathers/labels{/name}","releases_url":"https://api.github.com/repos/raven-os/feathers/releases{/id}","deployments_url":"https://api.github.com/repos/raven-os/feathers/deployments","created_at":"2019-01-23T20:46:55Z","updated_at":"2019-04-27T11:54:13Z","pushed_at":"2019-04-28T11:34:21Z","git_url":"git://github.com/raven-os/feathers.git","ssh_url":"git@github.com:raven-os/feathers.git","clone_url":"https://github.com/raven-os/feathers.git","svn_url":"https://github.com/raven-os/feathers","homepage":"","size":119,"stargazers_count":3,"watchers_count":3,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":10,"license":null,"forks":0,"open_issues":10,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/raven-os/feathers/pulls/36"},"html":{"href":"https://github.com/raven-os/feathers/pull/36"},"issue":{"href":"https://api.github.com/repos/raven-os/feathers/issues/36"},"comments":{"href":"https://api.github.com/repos/raven-os/feathers/issues/36/comments"},"review_comments":{"href":"https://api.github.com/repos/raven-os/feathers/pulls/36/comments"},"review_comment":{"href":"https://api.github.com/repos/raven-os/feathers/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/raven-os/feathers/pulls/36/commits"},"statuses":{"href":"https://api.github.com/repos/raven-os/feathers/statuses/a12a3d3267e1b853e38ec08bc497d2e54b7a3a53"}},"author_association":"MEMBER"}}
other: {"actor":{"display_login":"riamon-v"}}