diff options
author | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2008-10-31 13:00:01 -0700 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2008-10-31 15:49:52 -0700 |
commit | 9f49f5172d10070ebd4a9e72ac3c5227c6f35853 (patch) | |
tree | d9ed048d7e58615ffb795abf2fbb69b6b7dc8912 /hw/xquartz/darwinEvents.c | |
parent | 93298c7f8f73bdb9892da0e41d2c2a67719dc736 (diff) |
XQuartz: Silence pointer debug spam
(cherry picked from commit 9ca099e928653b5a0fb745186e17bfcc3d74ccc0)
Diffstat (limited to 'hw/xquartz/darwinEvents.c')
-rw-r--r-- | hw/xquartz/darwinEvents.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/xquartz/darwinEvents.c b/hw/xquartz/darwinEvents.c index 3303825c4..6a2a259b4 100644 --- a/hw/xquartz/darwinEvents.c +++ b/hw/xquartz/darwinEvents.c @@ -186,7 +186,7 @@ static void DarwinEventHandler(int screenNum, xEventPtr xe, DeviceIntPtr dev, in TA_SERVER(); - DEBUG_LOG("DarwinEventHandler(%d, %p, %p, %d)\n", screenNum, xe, dev, nevents); +// DEBUG_LOG("DarwinEventHandler(%d, %p, %p, %d)\n", screenNum, xe, dev, nevents); for (i=0; i<nevents; i++) { switch(xe[i].u.u.type) { case kXquartzControllerNotify: @@ -390,8 +390,8 @@ static void DarwinPrepareValuators(int *valuators, ScreenPtr screen, valuators[3] = tilt_x * XQUARTZ_VALUATOR_LIMIT; valuators[4] = tilt_y * XQUARTZ_VALUATOR_LIMIT; - DEBUG_LOG("Pointer (%f, %f), Valuators: {%d,%d,%d,%d,%d}\n", pointer_x, pointer_y, - valuators[0], valuators[1], valuators[2], valuators[3], valuators[4]); + //DEBUG_LOG("Pointer (%f, %f), Valuators: {%d,%d,%d,%d,%d}\n", pointer_x, pointer_y, + // valuators[0], valuators[1], valuators[2], valuators[3], valuators[4]); } void DarwinSendPointerEvents(DeviceIntPtr pDev, int ev_type, int ev_button, float pointer_x, float pointer_y, @@ -401,7 +401,7 @@ void DarwinSendPointerEvents(DeviceIntPtr pDev, int ev_type, int ev_button, floa ScreenPtr screen; int valuators[5]; - DEBUG_LOG("x=%f, y=%f, p=%f, tx=%f, ty=%f\n", pointer_x, pointer_y, pressure, tilt_x, tilt_y); + //DEBUG_LOG("x=%f, y=%f, p=%f, tx=%f, ty=%f\n", pointer_x, pointer_y, pressure, tilt_x, tilt_y); if(!darwinEvents) { DEBUG_LOG("DarwinSendPointerEvents called before darwinEvents was initialized\n"); |