[gtk+/gtk-2-22] Bug 565559 - Incorrect leave-notify signals for treeview



commit 42664a22cfa717100e62c37efd319086bfe49146
Author: Kristian Rietveld <kris gtk org>
Date:   Wed May 12 12:15:48 2010 +0200

    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 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
index f464ec4..9a24472 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 |



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]