Process the scrollbar window in the timeout
authorAlejandro G. Castro <alex@igalia.com>
Wed, 29 Jul 2009 16:48:05 +0000 (18:48 +0200)
committerAlejandro G. Castro <alex@igalia.com>
Wed, 29 Jul 2009 16:49:36 +0000 (18:49 +0200)
* hildon/hildon-pannable-area.c,
(hildon_pannable_area_timeout): Added the process updates of the
scrollbars window in the pannable.

Fixes: NB#130043 (scrollindicator not smooth while paning)

ChangeLog
hildon/hildon-pannable-area.c

index d2be834..34e2948 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2009-07-29  Alejandro G. Castro  <alex@igalia.com>
+
+       * hildon/hildon-pannable-area.c,
+       (hildon_pannable_area_timeout): Added the process updates of the
+       scrollbars window in the pannable.
+
+       Fixes: NB#130043 (scrollindicator not smooth while paning)
+
 2009-07-23  Alejandro G. Castro  <alex@igalia.com>
 
        * hildon/hildon-pannable-area.c,
index d6b3f39..ddccd47 100644 (file)
@@ -2333,6 +2333,8 @@ hildon_pannable_area_timeout (HildonPannableArea * area)
 
   hildon_pannable_area_scroll (area, priv->vel_x, priv->vel_y);
 
+  gdk_window_process_updates (GTK_WIDGET (area)->window, FALSE);
+
   return TRUE;
 }