src/video/windows/SDL_windowsevents.c
changeset 8713 e3a80970cf0b
parent 8624 c87db33e4cae
child 8796 9159d5c47819
child 8938 c73bac338b90
equal deleted inserted replaced
8712:e33b5f7df761 8713:e3a80970cf0b
   405     case WM_LBUTTONUP:
   405     case WM_LBUTTONUP:
   406     case WM_RBUTTONUP:
   406     case WM_RBUTTONUP:
   407     case WM_MBUTTONUP:
   407     case WM_MBUTTONUP:
   408     case WM_XBUTTONUP:
   408     case WM_XBUTTONUP:
   409     case WM_LBUTTONDOWN:
   409     case WM_LBUTTONDOWN:
       
   410     case WM_LBUTTONDBLCLK:
   410     case WM_RBUTTONDOWN:
   411     case WM_RBUTTONDOWN:
       
   412     case WM_RBUTTONDBLCLK:
   411     case WM_MBUTTONDOWN:
   413     case WM_MBUTTONDOWN:
       
   414     case WM_MBUTTONDBLCLK:
   412     case WM_XBUTTONDOWN:
   415     case WM_XBUTTONDOWN:
       
   416     case WM_XBUTTONDBLCLK:
   413         {
   417         {
   414             SDL_Mouse *mouse = SDL_GetMouse();
   418             SDL_Mouse *mouse = SDL_GetMouse();
   415             if (!mouse->relative_mode || mouse->relative_mode_warp) {
   419             if (!mouse->relative_mode || mouse->relative_mode_warp) {
   416                 WIN_CheckWParamMouseButtons(wParam, data);
   420                 WIN_CheckWParamMouseButtons(wParam, data);
   417             }
   421             }