[clutter] x11/device-manager-xi2: Flip deltas around
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter] x11/device-manager-xi2: Flip deltas around
- Date: Fri, 20 Apr 2012 17:36:44 +0000 (UTC)
commit d61515322a191d8a537d73c535a814e8fc21f96f
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Fri Apr 20 18:31:58 2012 +0100
x11/device-manager-xi2: Flip deltas around
Up/down is Y.
clutter/x11/clutter-device-manager-xi2.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/clutter/x11/clutter-device-manager-xi2.c b/clutter/x11/clutter-device-manager-xi2.c
index 03b0b45..64f9eed 100644
--- a/clutter/x11/clutter-device-manager-xi2.c
+++ b/clutter/x11/clutter-device-manager-xi2.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]