diff options
author | Kristian Rietveld <kris@gtk.org> | 2009-11-26 21:05:01 +0100 |
---|---|---|
committer | Kristian Rietveld <kris@gtk.org> | 2009-11-27 13:48:16 +0100 |
commit | dd511e825aef9edada30107b3d891d496cc39fd8 (patch) | |
tree | 79f72ee6b9c1beadd5f8f53b641285211cb55ccb /gtk/gtktreeprivate.h | |
parent | d3592dc22c3eac467546c66da0e4cf5c9e39cde8 (diff) | |
download | gtk+-dd511e825aef9edada30107b3d891d496cc39fd8.tar.gz |
Bug 480065 - wrong tree collapsed (or expanded) after having scrolled
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 c29b4dc79f..f4f1872e80 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; + GtkTreeRowReference *last_button_press; GtkTreeRowReference *last_button_press_2; |