x11/device-manager-xi2: Flip deltas around
Up/down is Y.
This commit is contained in:
parent
7641a1ffe9
commit
d61515322a
@ -650,9 +650,9 @@ scroll_valuators_changed (ClutterInputDevice *device,
|
|||||||
|
|
||||||
if (direction == CLUTTER_SCROLL_UP ||
|
if (direction == CLUTTER_SCROLL_UP ||
|
||||||
direction == CLUTTER_SCROLL_DOWN)
|
direction == CLUTTER_SCROLL_DOWN)
|
||||||
*dx_p = delta;
|
|
||||||
else
|
|
||||||
*dy_p = delta;
|
*dy_p = delta;
|
||||||
|
else
|
||||||
|
*dx_p = delta;
|
||||||
}
|
}
|
||||||
|
|
||||||
n_val += 1;
|
n_val += 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user