src/video/x11/SDL_x11xinput2.c
changeset 6950 1ddb72193079
parent 6885 700f1b25f77f
child 6951 7833f01322b3
equal deleted inserted replaced
6949:4de584a3a027 6950:1ddb72193079
   140                 return 0;
   140                 return 0;
   141             }
   141             }
   142 
   142 
   143             parse_valuators(rawev->raw_values,rawev->valuators.mask,
   143             parse_valuators(rawev->raw_values,rawev->valuators.mask,
   144                             rawev->valuators.mask_len,relative_cords,2);
   144                             rawev->valuators.mask_len,relative_cords,2);
   145             SDL_SendMouseMotion(mouse->focus,1,(int)relative_cords[0],(int)relative_cords[1]);
   145             SDL_SendMouseMotion(mouse->focus,mouse->mouseID,1,(int)relative_cords[0],(int)relative_cords[1]);
   146             return 1;
   146             return 1;
   147             }
   147             }
   148             break;
   148             break;
   149 #if SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH
   149 #if SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH
   150         case XI_TouchBegin: {
   150         case XI_TouchBegin: {