diff options
author | Ben Byer <bbyer@apple.com> | 2008-04-17 02:31:53 -0700 |
---|---|---|
committer | Ben Byer <bbyer@apple.com> | 2008-04-17 02:31:53 -0700 |
commit | 19872a6aeb8ee9cb0e33e4b4ffd794c9dbefe0cf (patch) | |
tree | 39a10eac088aa876e6e12b88d80cbb968360eca0 | |
parent | 769acd29348abf9e5b0bebfca6ae695d345f3077 (diff) |
oops, missed a spot
-rw-r--r-- | hw/xquartz/darwinEvents.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xquartz/darwinEvents.c b/hw/xquartz/darwinEvents.c index bb2a97d32..37a66f7c4 100644 --- a/hw/xquartz/darwinEvents.c +++ b/hw/xquartz/darwinEvents.c @@ -459,7 +459,7 @@ void DarwinSendScrollEvents(float count_x, float count_y, ErrorF("DarwinSendScrollEvents called before darwinEvents was initialized\n"); return; } - ErrorF("scroll(%f, %f)\n", count_x, count_y); + int sign_x = count_x > 0.0f ? SCROLLWHEELLEFTFAKE : SCROLLWHEELRIGHTFAKE; int sign_y = count_y > 0.0f ? SCROLLWHEELUPFAKE : SCROLLWHEELDOWNFAKE; count_x = fabs(count_x); |