2009-03-09 Alejandro G. Castro <alex@igalia.com>
authorAlejandro G. Castro <alex@igalia.com>
Mon, 9 Mar 2009 09:32:23 +0000 (09:32 +0000)
committerAlejandro G. Castro <alex@igalia.com>
Mon, 9 Mar 2009 09:32:23 +0000 (09:32 +0000)
* src/hildon-pannable-area.c,
(hildon_pannable_area_button_release_cb): Removed this check
  because it causes problems when the device is overloaded.

ChangeLog
src/hildon-pannable-area.c

index 6de37fd..147e91b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-03-09  Alejandro G. Castro  <alex@igalia.com>
+
+       * src/hildon-pannable-area.c,
+       (hildon_pannable_area_button_release_cb): Removed this check
+       because it causes problems when the device is overloaded.
+
 2009-03-06  Claudio Saavedra  <csaavedra@igalia.com>
 
        * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
index 46d669e..7b5b261 100644 (file)
@@ -2406,11 +2406,14 @@ hildon_pannable_area_button_release_cb (GtkWidget * widget,
   priv->scroll_indicator_event_interrupt = 0;
   priv->scroll_delay_counter = priv->scrollbar_fade_delay;
 
+/* This check does not work properly when the system is overloaded */
+#if 0
   if ((priv->last_type == 2)&&
       (event->time - priv->last_time > CURSOR_STOPPED_TIMEOUT)) {
     priv->vel_y = 0.0;
     priv->vel_x = 0.0;
   }
+#endif
 
   if ((ABS (priv->vel_y) > 1.0)||
       (ABS (priv->vel_x) > 1.0)) {