src/video/windows/SDL_windowsevents.c
changeset 8050 be19dbc5ff4e
parent 8036 d485906bd74a
child 8071 1ac2db4abe11
equal deleted inserted replaced
8049:eac8f31e9bbd 8050:be19dbc5ff4e
   416                 WIN_CheckClipboardUpdate(data->videodata);
   416                 WIN_CheckClipboardUpdate(data->videodata);
   417             } else {
   417             } else {
   418                 if (SDL_GetKeyboardFocus() == data->window) {
   418                 if (SDL_GetKeyboardFocus() == data->window) {
   419                     SDL_SetKeyboardFocus(NULL);
   419                     SDL_SetKeyboardFocus(NULL);
   420                 }
   420                 }
       
   421 
       
   422                 ClipCursor(NULL);
   421             }
   423             }
   422         }
   424         }
   423         returnCode = 0;
   425         returnCode = 0;
   424         break;
   426         break;
   425 
   427