src/video/windows/SDL_windowsevents.c
changeset 5421 f8588afb6486
parent 5262 b530ef003506
child 5535 96594ac5fd1a
equal deleted inserted replaced
5420:180640c1ae53 5421:f8588afb6486
   488         {
   488         {
   489             Uint16 hittest;
   489             Uint16 hittest;
   490 
   490 
   491             hittest = LOWORD(lParam);
   491             hittest = LOWORD(lParam);
   492             if (hittest == HTCLIENT) {
   492             if (hittest == HTCLIENT) {
   493                 /* FIXME: Implement the cursor API */
   493                 SetCursor(SDL_cursor);
   494                 static HCURSOR cursor;
       
   495                 if (!cursor) {
       
   496                     cursor = LoadCursor(NULL, IDC_ARROW);
       
   497                 }
       
   498                 SetCursor(cursor);
       
   499                 returnCode = TRUE;
   494                 returnCode = TRUE;
   500             }
   495             }
   501         }
   496         }
   502         break;
   497         break;
   503 
   498