[libchamplain] mx: update in_drag when not dragging



commit 27a0588d877291019e270688e7f7ac2c30209eac
Author: JiÅ?í Techet <techet gmail com>
Date:   Wed Jan 26 22:41:35 2011 +0100

    mx: update in_drag when not dragging
    
    Probably bug in mx - there's nothing like setting in_drag to
    false when dragging stops.

 mx/mx-kinetic-scroll-view.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/mx/mx-kinetic-scroll-view.c b/mx/mx-kinetic-scroll-view.c
index ebc5fd2..8fb1910 100644
--- a/mx/mx-kinetic-scroll-view.c
+++ b/mx/mx-kinetic-scroll-view.c
@@ -835,6 +835,7 @@ button_release_event_cb (ClutterActor        *stage,
   if (!decelerating)
     {
       clamp_adjustments (scroll, 250, TRUE, TRUE);
+      priv->in_drag = FALSE;
       g_signal_emit_by_name (scroll, "panning-completed", NULL);
     }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]