[gtk+] Bug 565559 - Incorrect leave-notify signals for treeview
- From: Kristian Rietveld <kristian src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Bug 565559 - Incorrect leave-notify signals for treeview
- Date: Wed, 12 May 2010 10:26:52 +0000 (UTC)
commit f3fa17a16a06a42b1587f0f422928d9c8f2ce972
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 ef5b948..09f2067 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]