diff options
author | Guilherme Felipe <guilhermefelipecgs@gmail.com> | 2018-05-21 14:37:30 -0300 |
---|---|---|
committer | Guilherme Felipe <guilhermefelipecgs@gmail.com> | 2018-05-21 14:37:30 -0300 |
commit | 9af14ac1db93f713fec7f37148d71f594c0752ca (patch) | |
tree | 79acfb00e91cb8a8d504052d4b204d9c75cc0e97 | |
parent | 9a5950ace52c4ebb575d452d6451259d6f2323e3 (diff) |
Fix #15678
Fix cursor not displaying arrow when transiting from mode captured to
visible.
-rw-r--r-- | platform/windows/os_windows.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp index d6cdea7b88..652311cab9 100644 --- a/platform/windows/os_windows.cpp +++ b/platform/windows/os_windows.cpp @@ -777,7 +777,9 @@ LRESULT OS_Windows::WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) SetCursor(NULL); } else { if (hCursor != NULL) { - SetCursor(hCursor); + CursorShape c = cursor_shape; + cursor_shape = CURSOR_MAX; + set_cursor_shape(c); hCursor = NULL; } } |