mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-09 04:58:06 +02:00
parent
0bd1c369cc
commit
582397cd02
1 changed files with 1 additions and 1 deletions
|
|
@ -459,7 +459,7 @@ void DarwinSendScrollEvents(float count_x, float count_y,
|
||||||
ErrorF("DarwinSendScrollEvents called before darwinEvents was initialized\n");
|
ErrorF("DarwinSendScrollEvents called before darwinEvents was initialized\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
ErrorF("scroll(%f, %f)\n", count_x, count_y);
|
|
||||||
int sign_x = count_x > 0.0f ? SCROLLWHEELLEFTFAKE : SCROLLWHEELRIGHTFAKE;
|
int sign_x = count_x > 0.0f ? SCROLLWHEELLEFTFAKE : SCROLLWHEELRIGHTFAKE;
|
||||||
int sign_y = count_y > 0.0f ? SCROLLWHEELUPFAKE : SCROLLWHEELDOWNFAKE;
|
int sign_y = count_y > 0.0f ? SCROLLWHEELUPFAKE : SCROLLWHEELDOWNFAKE;
|
||||||
count_x = fabs(count_x);
|
count_x = fabs(count_x);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue