mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
oops, missed a spot
(cherry picked from commit 19872a6aeb8ee9cb0e33e4b4ffd794c9dbefe0cf)
This commit is contained in:
committed by
Jeremy Huddleston
parent
0bd1c369cc
commit
582397cd02
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user