Bug 653676 - Expand/Collapse doesn't respond after one click

Ignore leave-notify-event when mode is GDK_CROSSING_GTK_[UN]GRAB.
Just [un]grabbing shouldn't cause us to [un]prelight the current arrow
and node.
This commit is contained in:
Rui Matos 2011-11-20 21:00:08 +01:00 committed by Kristian Rietveld
parent 44a064fe30
commit e60fa49fa7

View File

@ -5939,7 +5939,9 @@ gtk_tree_view_leave_notify (GtkWidget *widget,
{
GtkTreeView *tree_view;
if (event->mode == GDK_CROSSING_GRAB)
if (event->mode == GDK_CROSSING_GRAB ||
event->mode == GDK_CROSSING_GTK_GRAB ||
event->mode == GDK_CROSSING_GTK_UNGRAB)
return TRUE;
tree_view = GTK_TREE_VIEW (widget);