GitHub PullRequestReviewCommentEvent at 2014-05-27 18:00:06
Repository: SFML
Actor: MarioLiebisch
Payload: {"comment":{"url":"https://api.github.com/repos/LaurentGomila/SFML/pulls/comments/13091901","id":13091901,"diff_hunk":"@@ -387,6 +398,27 @@ void WindowImplWin32::setTracking(bool track)\n \r\n \r\n ////////////////////////////////////////////////////////////\r\n+void WindowImplWin32::grabCursor(bool grabbed)\r\n+{\r\n+    // No effect for fullscreen windows\r\n+    if (m_fullscreen)\r\n+        return;\r\n+\r\n+    if (grabbed)\r\n+    {\r\n+        RECT rect;\r\n+        GetClientRect(m_handle, &rect);\r\n+        MapWindowPoints(m_handle, NULL, reinterpret_cast<LPPOINT>(&rect), 2);\r\n+        grabCursor(&rect);\r\n+    }\r\n+    else\r\n+    {\r\n+        grabCursor(NULL);\r","path":"src/SFML/Window/Win32/WindowImplWin32.cpp","position":75,"original_position":75,"commit_id":"d16d38ed1c7aca58e2a1eb65285bcf37dbbffa5e","original_commit_id":"d16d38ed1c7aca58e2a1eb65285bcf37dbbffa5e","user":{"login":"MarioLiebisch","id":1854245,"avatar_url":"https://avatars.githubusercontent.com/u/1854245?","gravatar_id":"b055a62302498782454622c61e44aa51","url":"https://api.github.com/users/MarioLiebisch","html_url":"https://github.com/MarioLiebisch","followers_url":"https://api.github.com/users/MarioLiebisch/followers","following_url":"https://api.github.com/users/MarioLiebisch/following{/other_user}","gists_url":"https://api.github.com/users/MarioLiebisch/gists{/gist_id}","starred_url":"https://api.github.com/users/MarioLiebisch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarioLiebisch/subscriptions","organizations_url":"https://api.github.com/users/MarioLiebisch/orgs","repos_url":"https://api.github.com/users/MarioLiebisch/repos","events_url":"https://api.github.com/users/MarioLiebisch/events{/privacy}","received_events_url":"https://api.github.com/users/MarioLiebisch/received_events","type":"User","site_admin":false},"body":"Same here, unless I'm missing something?","created_at":"2014-05-27T18:00:06Z","updated_at":"2014-05-27T18:00:06Z","html_url":"https://github.com/LaurentGomila/SFML/pull/614#discussion_r13091901","pull_request_url":"https://api.github.com/repos/LaurentGomila/SFML/pulls/614","_links":{"self":{"href":"https://api.github.com/repos/LaurentGomila/SFML/pulls/comments/13091901"},"html":{"href":"https://github.com/LaurentGomila/SFML/pull/614#discussion_r13091901"},"pull_request":{"href":"https://api.github.com/repos/LaurentGomila/SFML/pulls/614"}}}}