{"action":"created","comment":{"url":"https://api.github.com/repos/AvaloniaUI/Avalonia/pulls/comments/88324799","pull_request_review_id":8901672,"id":88324799,"diff_hunk":"@@ -666,22 +679,57 @@ private void ShowWindow(WindowState state)\n         {\n             UnmanagedMethods.ShowWindowCommand command;\n \n+            Action afterShow = null;\n+\n             switch (state)\n             {\n                 case WindowState.Minimized:\n                     command = UnmanagedMethods.ShowWindowCommand.Minimize;\n                     break;\n                 case WindowState.Maximized:\n                     command = UnmanagedMethods.ShowWindowCommand.Maximize;\n+\n+                    if (!_decorated && !_ignoreTaskBarWhenMaximized)\n+                    {","path":"src/Windows/Avalonia.Win32/WindowImpl.cs","position":178,"original_position":178,"commit_id":"027205993450df2030727809012f784e1c83ced2","original_commit_id":"027205993450df2030727809012f784e1c83ced2","user":{"login":"grokys","id":1775141,"avatar_url":"https://avatars.githubusercontent.com/u/1775141?v=3","gravatar_id":"","url":"https://api.github.com/users/grokys","html_url":"https://github.com/grokys","followers_url":"https://api.github.com/users/grokys/followers","following_url":"https://api.github.com/users/grokys/following{/other_user}","gists_url":"https://api.github.com/users/grokys/gists{/gist_id}","starred_url":"https://api.github.com/users/grokys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grokys/subscriptions","organizations_url":"https://api.github.com/users/grokys/orgs","repos_url":"https://api.github.com/users/grokys/repos","events_url":"https://api.github.com/users/grokys/events{/privacy}","received_events_url":"https://api.github.com/users/grokys/received_events","type":"User","site_admin":true},"body":"Maybe the block below might be best refactored out into a separate method?","created_at":"2016-11-16T20:33:15Z","updated_at":"2016-11-16T20:33:44Z","html_url":"https://github.com/AvaloniaUI/Avalonia/pull/805#discussion_r88324799","pull_request_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/pulls/805","_links":{"self":{"href":"https://api.github.com/repos/AvaloniaUI/Avalonia/pulls/comments/88324799"},"html":{"href":"https://github.com/AvaloniaUI/Avalonia/pull/805#discussion_r88324799"},"pull_request":{"href":"https://api.github.com/repos/AvaloniaUI/Avalonia/pulls/805"}}},"pull_request":{"url":"https://api.github.com/repos/AvaloniaUI/Avalonia/pulls/805","id":93489583,"html_url":"https://github.com/AvaloniaUI/Avalonia/pull/805","diff_url":"https://github.com/AvaloniaUI/Avalonia/pull/805.diff","patch_url":"https://github.com/AvaloniaUI/Avalonia/pull/805.patch","issue_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/issues/805","number":805,"state":"open","locked":false,"title":"Fixes/dont cover taskbar with system decorations hidden","user":{"login":"danwalmsley","id":4672627,"avatar_url":"https://avatars.githubusercontent.com/u/4672627?v=3","gravatar_id":"","url":"https://api.github.com/users/danwalmsley","html_url":"https://github.com/danwalmsley","followers_url":"https://api.github.com/users/danwalmsley/followers","following_url":"https://api.github.com/users/danwalmsley/following{/other_user}","gists_url":"https://api.github.com/users/danwalmsley/gists{/gist_id}","starred_url":"https://api.github.com/users/danwalmsley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danwalmsley/subscriptions","organizations_url":"https://api.github.com/users/danwalmsley/orgs","repos_url":"https://api.github.com/users/danwalmsley/repos","events_url":"https://api.github.com/users/danwalmsley/events{/privacy}","received_events_url":"https://api.github.com/users/danwalmsley/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-13T22:22:06Z","updated_at":"2016-11-16T20:33:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bf01fe953fdadf1ab0bfc222b12ae0173689a7e1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/pulls/805/commits","review_comments_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/pulls/805/comments","review_comment_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/issues/805/comments","statuses_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/statuses/027205993450df2030727809012f784e1c83ced2","head":{"label":"VitalElement:fixes/dont-cover-taskbar-with-system-decorations-hidden","ref":"fixes/dont-cover-taskbar-with-system-decorations-hidden","sha":"027205993450df2030727809012f784e1c83ced2","user":{"login":"VitalElement","id":1429454,"avatar_url":"https://avatars.githubusercontent.com/u/1429454?v=3","gravatar_id":"","url":"https://api.github.com/users/VitalElement","html_url":"https://github.com/VitalElement","followers_url":"https://api.github.com/users/VitalElement/followers","following_url":"https://api.github.com/users/VitalElement/following{/other_user}","gists_url":"https://api.github.com/users/VitalElement/gists{/gist_id}","starred_url":"https://api.github.com/users/VitalElement/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VitalElement/subscriptions","organizations_url":"https://api.github.com/users/VitalElement/orgs","repos_url":"https://api.github.com/users/VitalElement/repos","events_url":"https://api.github.com/users/VitalElement/events{/privacy}","received_events_url":"https://api.github.com/users/VitalElement/received_events","type":"Organization","site_admin":false},"repo":{"id":47965332,"name":"Avalonia","full_name":"VitalElement/Avalonia","owner":{"login":"VitalElement","id":1429454,"avatar_url":"https://avatars.githubusercontent.com/u/1429454?v=3","gravatar_id":"","url":"https://api.github.com/users/VitalElement","html_url":"https://github.com/VitalElement","followers_url":"https://api.github.com/users/VitalElement/followers","following_url":"https://api.github.com/users/VitalElement/following{/other_user}","gists_url":"https://api.github.com/users/VitalElement/gists{/gist_id}","starred_url":"https://api.github.com/users/VitalElement/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VitalElement/subscriptions","organizations_url":"https://api.github.com/users/VitalElement/orgs","repos_url":"https://api.github.com/users/VitalElement/repos","events_url":"https://api.github.com/users/VitalElement/events{/privacy}","received_events_url":"https://api.github.com/users/VitalElement/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/VitalElement/Avalonia","description":"A multi-platform .NET UI framework.","fork":true,"url":"https://api.github.com/repos/VitalElement/Avalonia","forks_url":"https://api.github.com/repos/VitalElement/Avalonia/forks","keys_url":"https://api.github.com/repos/VitalElement/Avalonia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/VitalElement/Avalonia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/VitalElement/Avalonia/teams","hooks_url":"https://api.github.com/repos/VitalElement/Avalonia/hooks","issue_events_url":"https://api.github.com/repos/VitalElement/Avalonia/issues/events{/number}","events_url":"https://api.github.com/repos/VitalElement/Avalonia/events","assignees_url":"https://api.github.com/repos/VitalElement/Avalonia/assignees{/user}","branches_url":"https://api.github.com/repos/VitalElement/Avalonia/branches{/branch}","tags_url":"https://api.github.com/repos/VitalElement/Avalonia/tags","blobs_url":"https://api.github.com/repos/VitalElement/Avalonia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/VitalElement/Avalonia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/VitalElement/Avalonia/git/refs{/sha}","trees_url":"https://api.github.com/repos/VitalElement/Avalonia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/VitalElement/Avalonia/statuses/{sha}","languages_url":"https://api.github.com/repos/VitalElement/Avalonia/languages","stargazers_url":"https://api.github.com/repos/VitalElement/Avalonia/stargazers","contributors_url":"https://api.github.com/repos/VitalElement/Avalonia/contributors","subscribers_url":"https://api.github.com/repos/VitalElement/Avalonia/subscribers","subscription_url":"https://api.github.com/repos/VitalElement/Avalonia/subscription","commits_url":"https://api.github.com/repos/VitalElement/Avalonia/commits{/sha}","git_commits_url":"https://api.github.com/repos/VitalElement/Avalonia/git/commits{/sha}","comments_url":"https://api.github.com/repos/VitalElement/Avalonia/comments{/number}","issue_comment_url":"https://api.github.com/repos/VitalElement/Avalonia/issues/comments{/number}","contents_url":"https://api.github.com/repos/VitalElement/Avalonia/contents/{+path}","compare_url":"https://api.github.com/repos/VitalElement/Avalonia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/VitalElement/Avalonia/merges","archive_url":"https://api.github.com/repos/VitalElement/Avalonia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/VitalElement/Avalonia/downloads","issues_url":"https://api.github.com/repos/VitalElement/Avalonia/issues{/number}","pulls_url":"https://api.github.com/repos/VitalElement/Avalonia/pulls{/number}","milestones_url":"https://api.github.com/repos/VitalElement/Avalonia/milestones{/number}","notifications_url":"https://api.github.com/repos/VitalElement/Avalonia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/VitalElement/Avalonia/labels{/name}","releases_url":"https://api.github.com/repos/VitalElement/Avalonia/releases{/id}","deployments_url":"https://api.github.com/repos/VitalElement/Avalonia/deployments","created_at":"2015-12-14T09:37:28Z","updated_at":"2016-06-01T16:14:47Z","pushed_at":"2016-11-16T09:37:58Z","git_url":"git://github.com/VitalElement/Avalonia.git","ssh_url":"git@github.com:VitalElement/Avalonia.git","clone_url":"https://github.com/VitalElement/Avalonia.git","svn_url":"https://github.com/VitalElement/Avalonia","homepage":"","size":45352,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"AvaloniaUI:master","ref":"master","sha":"bb0d6f447520ae5b59b8653fc7e1763316653b53","user":{"login":"AvaloniaUI","id":14075148,"avatar_url":"https://avatars.githubusercontent.com/u/14075148?v=3","gravatar_id":"","url":"https://api.github.com/users/AvaloniaUI","html_url":"https://github.com/AvaloniaUI","followers_url":"https://api.github.com/users/AvaloniaUI/followers","following_url":"https://api.github.com/users/AvaloniaUI/following{/other_user}","gists_url":"https://api.github.com/users/AvaloniaUI/gists{/gist_id}","starred_url":"https://api.github.com/users/AvaloniaUI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AvaloniaUI/subscriptions","organizations_url":"https://api.github.com/users/AvaloniaUI/orgs","repos_url":"https://api.github.com/users/AvaloniaUI/repos","events_url":"https://api.github.com/users/AvaloniaUI/events{/privacy}","received_events_url":"https://api.github.com/users/AvaloniaUI/received_events","type":"Organization","site_admin":false},"repo":{"id":14964475,"name":"Avalonia","full_name":"AvaloniaUI/Avalonia","owner":{"login":"AvaloniaUI","id":14075148,"avatar_url":"https://avatars.githubusercontent.com/u/14075148?v=3","gravatar_id":"","url":"https://api.github.com/users/AvaloniaUI","html_url":"https://github.com/AvaloniaUI","followers_url":"https://api.github.com/users/AvaloniaUI/followers","following_url":"https://api.github.com/users/AvaloniaUI/following{/other_user}","gists_url":"https://api.github.com/users/AvaloniaUI/gists{/gist_id}","starred_url":"https://api.github.com/users/AvaloniaUI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AvaloniaUI/subscriptions","organizations_url":"https://api.github.com/users/AvaloniaUI/orgs","repos_url":"https://api.github.com/users/AvaloniaUI/repos","events_url":"https://api.github.com/users/AvaloniaUI/events{/privacy}","received_events_url":"https://api.github.com/users/AvaloniaUI/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AvaloniaUI/Avalonia","description":"A multi-platform .NET UI framework (formerly known as Perspex)","fork":false,"url":"https://api.github.com/repos/AvaloniaUI/Avalonia","forks_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/forks","keys_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/teams","hooks_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/hooks","issue_events_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/issues/events{/number}","events_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/events","assignees_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/assignees{/user}","branches_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/branches{/branch}","tags_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/tags","blobs_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/git/refs{/sha}","trees_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/statuses/{sha}","languages_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/languages","stargazers_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/stargazers","contributors_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/contributors","subscribers_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/subscribers","subscription_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/subscription","commits_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/commits{/sha}","git_commits_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/git/commits{/sha}","comments_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/comments{/number}","issue_comment_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/issues/comments{/number}","contents_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/contents/{+path}","compare_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/merges","archive_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/downloads","issues_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/issues{/number}","pulls_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/pulls{/number}","milestones_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/milestones{/number}","notifications_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/labels{/name}","releases_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/releases{/id}","deployments_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/deployments","created_at":"2013-12-05T20:13:21Z","updated_at":"2016-11-16T18:52:14Z","pushed_at":"2016-11-16T17:47:40Z","git_url":"git://github.com/AvaloniaUI/Avalonia.git","ssh_url":"git@github.com:AvaloniaUI/Avalonia.git","clone_url":"https://github.com/AvaloniaUI/Avalonia.git","svn_url":"https://github.com/AvaloniaUI/Avalonia","homepage":"","size":47042,"stargazers_count":1843,"watchers_count":1843,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":180,"mirror_url":null,"open_issues_count":130,"forks":180,"open_issues":130,"watchers":1843,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AvaloniaUI/Avalonia/pulls/805"},"html":{"href":"https://github.com/AvaloniaUI/Avalonia/pull/805"},"issue":{"href":"https://api.github.com/repos/AvaloniaUI/Avalonia/issues/805"},"comments":{"href":"https://api.github.com/repos/AvaloniaUI/Avalonia/issues/805/comments"},"review_comments":{"href":"https://api.github.com/repos/AvaloniaUI/Avalonia/pulls/805/comments"},"review_comment":{"href":"https://api.github.com/repos/AvaloniaUI/Avalonia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AvaloniaUI/Avalonia/pulls/805/commits"},"statuses":{"href":"https://api.github.com/repos/AvaloniaUI/Avalonia/statuses/027205993450df2030727809012f784e1c83ced2"}}}}
{"actor":{"display_login":"grokys"}}