# HG changeset patch # User Sam Lantinga # Date 1138522736 0 # Node ID 08e3393e9ffbeaec55de78d0f580f6f4910bb069 # Parent f214b6fae45a7b9210d5ace547cb64f7569fa2b7 Report both absolute and relative motion diff -r f214b6fae45a -r 08e3393e9ffb test/testwm.c --- a/test/testwm.c Sun Jan 29 08:18:06 2006 +0000 +++ b/test/testwm.c Sun Jan 29 08:18:56 2006 +0000 @@ -210,7 +210,8 @@ /* Show relative mouse motion */ case SDL_MOUSEMOTION: #if 0 - printf("Mouse relative motion: {%d,%d}\n", + printf("Mouse motion: {%d,%d} (%d,%d)\n", + event->motion.x, event->motion.y, event->motion.xrel, event->motion.yrel); #endif return(0);