# HG changeset patch # User Sam Lantinga # Date 1235018469 0 # Node ID 085e464233774a2327f12150ad47198eb890e7fb # Parent 4c28a96559335dcc191def851879f661a2da2aca Use the default arrow cursor until we implement the cursor API diff -r 4c28a9655933 -r 085e46423377 src/video/win32/SDL_win32events.c --- a/src/video/win32/SDL_win32events.c Thu Feb 19 04:15:04 2009 +0000 +++ b/src/video/win32/SDL_win32events.c Thu Feb 19 04:41:09 2009 +0000 @@ -524,15 +524,18 @@ case WM_SETCURSOR: { - /* - Uint16 hittest; + Uint16 hittest; - hittest = LOWORD(lParam); - if (hittest == HTCLIENT) { - SetCursor(SDL_hcursor); - return (TRUE); - } - */ + hittest = LOWORD(lParam); + if (hittest == HTCLIENT) { + /* FIXME: Implement the cursor API */ + static HCURSOR cursor; + if (!cursor) { + cursor = LoadCursor(NULL, IDC_ARROW); + } + SetCursor(cursor); + return (TRUE); + } } break;