diff options
| author | Neil Jagdish Patel <neil.patel@canonical.com> | 2010-08-26 15:42:40 +0100 |
|---|---|---|
| committer | Neil Jagdish Patel <neil.patel@canonical.com> | 2010-08-26 15:42:40 +0100 |
| commit | cccbae03e8a66e0d4ef449eaa7862003101a8f8f (patch) | |
| tree | c889488ee5fab5bf3e79a367e766e4e664ef00f0 | |
| parent | 57270d063565c06e9197d9c75153718a07e8968c (diff) | |
Update the properties
(bzr r424.1.43)
| -rw-r--r-- | unity-private/gesture/gesture-dispatcher-xcb-glue.c | 4 | ||||
| -rw-r--r-- | unity-private/gesture/gesture-event.vala | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/unity-private/gesture/gesture-dispatcher-xcb-glue.c b/unity-private/gesture/gesture-dispatcher-xcb-glue.c index 680fbb989..6ff336cfc 100644 --- a/unity-private/gesture/gesture-dispatcher-xcb-glue.c +++ b/unity-private/gesture/gesture-dispatcher-xcb-glue.c @@ -221,8 +221,8 @@ unity_gesture_xcb_dispatcher_glue_main_iteration (XCBSource *source) ev->delta_y = properties[GRAIL_PROP_DRAG_DY]; ev->velocity_x = properties[GRAIL_PROP_DRAG_VX]; ev->velocity_y = properties[GRAIL_PROP_DRAG_VY]; - ev->x2 = properties[GRAIL_PROP_DRAG_X]; - ev->y2 = properties[GRAIL_PROP_DRAG_Y]; + ev->x = properties[GRAIL_PROP_DRAG_X]; + ev->y = properties[GRAIL_PROP_DRAG_Y]; } else if (dispatch_event->type == UNITY_GESTURE_TYPE_PINCH && gesture_event->num_props >= 7) diff --git a/unity-private/gesture/gesture-event.vala b/unity-private/gesture/gesture-event.vala index 6851c4155..d9f4dfe9b 100644 --- a/unity-private/gesture/gesture-event.vala +++ b/unity-private/gesture/gesture-event.vala @@ -81,8 +81,8 @@ namespace Unity.Gesture ret += "\tDeltaY : %f\n".printf (pan_event.delta_y); ret += "\tVelocityX : %f\n".printf (pan_event.velocity_x); ret += "\tVelocityY : %f\n".printf (pan_event.velocity_y); - ret += "\tX2 : %f\n".printf (pan_event.x2); - ret += "\tY2 : %f\n".printf (pan_event.y2); + ret += "\tX : %f\n".printf (pan_event.x); + ret += "\tY : %f\n".printf (pan_event.y); break; case Type.PINCH: ret += "\tRadiusDelta: %f\n".printf (pinch_event.radius_delta); @@ -140,8 +140,8 @@ namespace Unity.Gesture public float delta_y; public float velocity_x; public float velocity_y; - public float x2; - public float y2; + public float x; + public float y; } public class PinchEvent |
