src/video/windows/SDL_windowsmouse.c
changeset 8916 96d944f74851
parent 8815 c6d0a457f3b2
child 8953 dc80dc0bd22e
equal deleted inserted replaced
8915:49714dc4e195 8916:96d944f74851
   186     SDL_WindowData *data = (SDL_WindowData *)window->driverdata;
   186     SDL_WindowData *data = (SDL_WindowData *)window->driverdata;
   187     HWND hwnd = data->hwnd;
   187     HWND hwnd = data->hwnd;
   188     POINT pt;
   188     POINT pt;
   189 
   189 
   190     /* Don't warp the mouse while we're doing a modal interaction */
   190     /* Don't warp the mouse while we're doing a modal interaction */
   191     if (data->in_title_click || data->in_modal_loop) {
   191     if (data->in_title_click || data->focus_click_pending) {
   192         return;
   192         return;
   193     }
   193     }
   194 
   194 
   195     pt.x = x;
   195     pt.x = x;
   196     pt.y = y;
   196     pt.y = y;