diff options
author | Kristian Rietveld <kris@gtk.org> | 2009-11-26 21:05:01 +0100 |
---|---|---|
committer | Kristian Rietveld <kris@gtk.org> | 2009-12-21 22:42:15 +0100 |
commit | f223577a88730a03686935e6d319006595480bd2 (patch) | |
tree | 8281ebc0947ab11e9d9a6faae9be80a73e099dee /gtk/gtktreeprivate.h | |
parent | d5394b06e470161544c5251f75437725a3b501e6 (diff) | |
download | gtk+-f223577a88730a03686935e6d319006595480bd2.tar.gz |
Bug 480065 - wrong tree collapsed (or expanded) after having scrolled
Commit again after revert.
Store (x, y) of last motion event. From
gtk_tree_view_adjustment_changed(), call prelight_or_select() so that
the prelight is recalculated. We do the same from
gtk_tree_view_size_allocate() for the case that clicking on an expander
shows new rows that resize the column(s) left of the expander. This
means that the expander is moved horizontally, in such a case the
prelight also has to be reconsidered.
Diffstat (limited to 'gtk/gtktreeprivate.h')
-rw-r--r-- | gtk/gtktreeprivate.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtktreeprivate.h b/gtk/gtktreeprivate.h index d9d9c3b063..dd0cf8d2a9 100644 --- a/gtk/gtktreeprivate.h +++ b/gtk/gtktreeprivate.h @@ -140,6 +140,9 @@ struct _GtkTreeViewPrivate gint press_start_x; gint press_start_y; + gint event_last_x; + gint event_last_y; + guint last_button_time; gint last_button_x; gint last_button_y; |