Mercurial > sdl-ios-xcode
diff src/video/x11/SDL_x11events.c @ 2997:e4f025078c1c
indent
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 04 Jan 2009 23:41:09 +0000 |
parents | 2fad80c77c17 |
children | 699d68ef2aca |
line wrap: on
line diff
--- a/src/video/x11/SDL_x11events.c Sun Jan 04 23:36:53 2009 +0000 +++ b/src/video/x11/SDL_x11events.c Sun Jan 04 23:41:09 2009 +0000 @@ -292,17 +292,21 @@ switch (xevent.type) { case MotionNotify: #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 - SDL_SendMouseMotion(mouse->id, 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(mouse->id, SDL_PRESSED, xevent.xbutton.button); + SDL_SendMouseButton(mouse->id, SDL_PRESSED, + xevent.xbutton.button); break; case ButtonRelease: - SDL_SendMouseButton(mouse->id, SDL_RELEASED, xevent.xbutton.button); + SDL_SendMouseButton(mouse->id, SDL_RELEASED, + xevent.xbutton.button); break; } continue;