From f3fa17a16a06a42b1587f0f422928d9c8f2ce972 Mon Sep 17 00:00:00 2001 From: Kristian Rietveld Date: Wed, 12 May 2010 12:15:48 +0200 Subject: [PATCH] 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. --- gtk/gtktreeview.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c index ef5b948320..09f2067968 100644 --- a/gtk/gtktreeview.c +++ b/gtk/gtktreeview.c @@ -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 |