don't forget to set the state of the synthesized GDK_ENTER_NOTIFY event.

2007-02-14  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkmenu.c (gtk_menu_motion_notify): don't forget to set the
	state of the synthesized GDK_ENTER_NOTIFY event. Fix taken from
	maemo-gtk.


svn path=/trunk/; revision=17291
This commit is contained in:
Michael Natterer 2007-02-14 11:52:27 +00:00 committed by Michael Natterer
parent 1cad322c6d
commit 44d79a77ac
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2007-02-14 Michael Natterer <mitch@imendio.com>
* gtk/gtkmenu.c (gtk_menu_motion_notify): don't forget to set the
state of the synthesized GDK_ENTER_NOTIFY event. Fix taken from
maemo-gtk.
2007-02-13 Kristian Rietveld <kris@imendio.com>
* gtk/gtktooltip.c (gtk_tooltip_hide_tooltip): stop any

View File

@ -2900,6 +2900,7 @@ gtk_menu_motion_notify (GtkWidget *widget,
send_event->crossing.y_root = event->y_root;
send_event->crossing.x = event->x;
send_event->crossing.y = event->y;
send_event->crossing.state = event->state;
/* We send the event to 'widget', the currently active menu,
* instead of 'menu', the menu that the pointer is in. This