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 7d61c9fff5
commit 42664a22cf

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 |