x11/device-manager-xi2: Flip deltas around

Up/down is Y.
This commit is contained in:
Cosimo Cecchi 2012-04-20 18:31:58 +01:00 committed by Emmanuele Bassi
parent 7641a1ffe9
commit d61515322a

View File

@ -650,9 +650,9 @@ scroll_valuators_changed (ClutterInputDevice *device,
if (direction == CLUTTER_SCROLL_UP ||
direction == CLUTTER_SCROLL_DOWN)
*dx_p = delta;
else
*dy_p = delta;
else
*dx_p = delta;
}
n_val += 1;