mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
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 ||
|
||||
direction == CLUTTER_SCROLL_DOWN)
|
||||
*dx_p = delta;
|
||||
else
|
||||
*dy_p = delta;
|
||||
else
|
||||
*dx_p = delta;
|
||||
}
|
||||
|
||||
n_val += 1;
|
||||
|
Loading…
Reference in New Issue
Block a user