Bug 565559 - Incorrect leave-notify signals for treeview

Set enter and leave notify mask on header window.

Extract from a patch by Hans van Hintum.
This commit is contained in:
Kristian Rietveld 2010-05-12 12:15:48 +02:00
parent aea9f1b6cf
commit f3fa17a16a

View File

@ -1811,6 +1811,8 @@ gtk_tree_view_realize (GtkWidget *widget)
attributes.height = tree_view->priv->header_height;
attributes.event_mask = (GDK_EXPOSURE_MASK |
GDK_SCROLL_MASK |
GDK_ENTER_NOTIFY_MASK |
GDK_LEAVE_NOTIFY_MASK |
GDK_BUTTON_PRESS_MASK |
GDK_BUTTON_RELEASE_MASK |
GDK_KEY_PRESS_MASK |