src/video/windows/SDL_windowswindow.c
changeset 8253 75ad8ebb3768
parent 8238 9e09e1561e00
child 8778 d67a044fbec6
equal deleted inserted replaced
8252:3e4846dc97b1 8253:75ad8ebb3768
   744 {
   744 {
   745     SDL_WindowData *data = (SDL_WindowData *) window->driverdata;
   745     SDL_WindowData *data = (SDL_WindowData *) window->driverdata;
   746     SDL_Mouse *mouse = SDL_GetMouse();
   746     SDL_Mouse *mouse = SDL_GetMouse();
   747 
   747 
   748     /* Don't clip the cursor while we're in the modal resize or move loop */
   748     /* Don't clip the cursor while we're in the modal resize or move loop */
   749     if (data->in_modal_loop) {
   749     if (data->in_title_click || data->in_modal_loop) {
   750         ClipCursor(NULL);
   750         ClipCursor(NULL);
   751         return;
   751         return;
   752     }
   752     }
   753 
   753 
   754     if ((mouse->relative_mode || (window->flags & SDL_WINDOW_INPUT_GRABBED)) &&
   754     if ((mouse->relative_mode || (window->flags & SDL_WINDOW_INPUT_GRABBED)) &&