Mercurial > sdl-ios-xcode
changeset 2993:2fad80c77c17
Technically more correct
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 04 Jan 2009 19:26:50 +0000 |
parents | dbff5769d742 |
children | 7563b99e9a49 |
files | src/video/x11/SDL_x11events.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/video/x11/SDL_x11events.c Sun Jan 04 18:29:20 2009 +0000 +++ b/src/video/x11/SDL_x11events.c Sun Jan 04 19:26:50 2009 +0000 @@ -294,15 +294,15 @@ #ifdef DEBUG_MOTION printf("X11 motion: %d,%d\n", xevent.xmotion.x, xevent.xmotion.y); #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; case ButtonPress: - SDL_SendMouseButton(0, SDL_PRESSED, xevent.xbutton.button); + SDL_SendMouseButton(mouse->id, SDL_PRESSED, xevent.xbutton.button); break; case ButtonRelease: - SDL_SendMouseButton(0, SDL_RELEASED, xevent.xbutton.button); + SDL_SendMouseButton(mouse->id, SDL_RELEASED, xevent.xbutton.button); break; } continue;