Technically more correct
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403455
This commit is contained in:
parent
1627124ff0
commit
3ca7408da3
1 changed files with 3 additions and 3 deletions
|
@ -294,15 +294,15 @@ X11_DispatchEvent(_THIS)
|
||||||
#ifdef DEBUG_MOTION
|
#ifdef DEBUG_MOTION
|
||||||
printf("X11 motion: %d,%d\n", xevent.xmotion.x, xevent.xmotion.y);
|
printf("X11 motion: %d,%d\n", xevent.xmotion.x, xevent.xmotion.y);
|
||||||
#endif
|
#endif
|
||||||
SDL_SendMouseMotion(0, 0, xevent.xmotion.x, xevent.xmotion.y, 0);
|
SDL_SendMouseMotion(mouse->id, 0, xevent.xmotion.x, xevent.xmotion.y, 0);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case ButtonPress:
|
case ButtonPress:
|
||||||
SDL_SendMouseButton(0, SDL_PRESSED, xevent.xbutton.button);
|
SDL_SendMouseButton(mouse->id, SDL_PRESSED, xevent.xbutton.button);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case ButtonRelease:
|
case ButtonRelease:
|
||||||
SDL_SendMouseButton(0, SDL_RELEASED, xevent.xbutton.button);
|
SDL_SendMouseButton(mouse->id, SDL_RELEASED, xevent.xbutton.button);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue