forked from AuroraMiddleware/gtk
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:
parent
44a064fe30
commit
e60fa49fa7
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user