From 582397cd024c68df65ab9dececd6d2c40a5a261b Mon Sep 17 00:00:00 2001 From: Ben Byer Date: Thu, 17 Apr 2008 02:31:53 -0700 Subject: [PATCH] oops, missed a spot (cherry picked from commit 19872a6aeb8ee9cb0e33e4b4ffd794c9dbefe0cf) --- hw/xquartz/darwinEvents.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);