Changeset 3229


Ignore:
Timestamp:
10/19/07 19:21:31 (6 years ago)
Author:
chris
Message:
  • libmokoui/moko-finger-scroll.c: (moko_finger_scroll_motion_notify_cb): Don't call gtk_widget_get_pointer too early
Location:
trunk/src/target/OM-2007.2/libraries/libmokoui2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/target/OM-2007.2/libraries/libmokoui2/ChangeLog

    r3223 r3229  
     12007-10-19  Chris Lord  <chris@openedhand.com> 
     2 
     3        * libmokoui/moko-finger-scroll.c: 
     4        (moko_finger_scroll_motion_notify_cb): 
     5        Don't call gtk_widget_get_pointer too early 
     6 
    172007-10-18  Thomas Wood  <thomas@openedhand.com> 
    28 
  • trunk/src/target/OM-2007.2/libraries/libmokoui2/libmokoui/moko-finger-scroll.c

    r3221 r3229  
    418418        gdouble x, y; 
    419419 
    420         gdk_window_get_pointer (GTK_WIDGET (scroll)->window, NULL, NULL, 0); 
    421          
    422420        if ((!priv->enabled) || (!priv->clicked) || 
    423421            ((event->time == priv->last_time) && 
    424              (event->type == priv->last_type))) return TRUE; 
     422             (event->type == priv->last_type))) { 
     423                gdk_window_get_pointer ( 
     424                        GTK_WIDGET (scroll)->window, NULL, NULL, 0); 
     425                return TRUE; 
     426        } 
    425427         
    426428        /* Only start the scroll if the mouse cursor passes beyond the 
     
    484486                gdk_event_free ((GdkEvent *)event); 
    485487        } 
     488 
     489        gdk_window_get_pointer (GTK_WIDGET (scroll)->window, NULL, NULL, 0); 
    486490 
    487491        return TRUE; 
Note: See TracChangeset for help on using the changeset viewer.