Call gdk_window_get_pointer() on menu->bin_window not menu->window, so we
Thu Dec 27 15:38:20 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenu.c (gtk_menu_stop_navigating_submenu_cb):
Call gdk_window_get_pointer() on menu->bin_window not
menu->window, so we get the correct window for the
menu item. (#65213, Guillermo S. Romero)
This commit is contained in:
parent
aae695ab65
commit
095d7c33d7
8 changed files with 50 additions and 1 deletions
|
|
@ -1,3 +1,10 @@
|
|||
Thu Dec 27 15:38:20 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_stop_navigating_submenu_cb):
|
||||
Call gdk_window_get_pointer() on menu->bin_window not
|
||||
menu->window, so we get the correct window for the
|
||||
menu item. (#65213, Guillermo S. Romero)
|
||||
|
||||
Thu Dec 27 15:13:44 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_set_title): Allow unsetting
|
||||
|
|
|
|||
|
|
@ -1,3 +1,10 @@
|
|||
Thu Dec 27 15:38:20 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_stop_navigating_submenu_cb):
|
||||
Call gdk_window_get_pointer() on menu->bin_window not
|
||||
menu->window, so we get the correct window for the
|
||||
menu item. (#65213, Guillermo S. Romero)
|
||||
|
||||
Thu Dec 27 15:13:44 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_set_title): Allow unsetting
|
||||
|
|
|
|||
|
|
@ -1,3 +1,10 @@
|
|||
Thu Dec 27 15:38:20 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_stop_navigating_submenu_cb):
|
||||
Call gdk_window_get_pointer() on menu->bin_window not
|
||||
menu->window, so we get the correct window for the
|
||||
menu item. (#65213, Guillermo S. Romero)
|
||||
|
||||
Thu Dec 27 15:13:44 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_set_title): Allow unsetting
|
||||
|
|
|
|||
|
|
@ -1,3 +1,10 @@
|
|||
Thu Dec 27 15:38:20 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_stop_navigating_submenu_cb):
|
||||
Call gdk_window_get_pointer() on menu->bin_window not
|
||||
menu->window, so we get the correct window for the
|
||||
menu item. (#65213, Guillermo S. Romero)
|
||||
|
||||
Thu Dec 27 15:13:44 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_set_title): Allow unsetting
|
||||
|
|
|
|||
|
|
@ -1,3 +1,10 @@
|
|||
Thu Dec 27 15:38:20 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_stop_navigating_submenu_cb):
|
||||
Call gdk_window_get_pointer() on menu->bin_window not
|
||||
menu->window, so we get the correct window for the
|
||||
menu item. (#65213, Guillermo S. Romero)
|
||||
|
||||
Thu Dec 27 15:13:44 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_set_title): Allow unsetting
|
||||
|
|
|
|||
|
|
@ -1,3 +1,10 @@
|
|||
Thu Dec 27 15:38:20 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_stop_navigating_submenu_cb):
|
||||
Call gdk_window_get_pointer() on menu->bin_window not
|
||||
menu->window, so we get the correct window for the
|
||||
menu item. (#65213, Guillermo S. Romero)
|
||||
|
||||
Thu Dec 27 15:13:44 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_set_title): Allow unsetting
|
||||
|
|
|
|||
|
|
@ -1,3 +1,10 @@
|
|||
Thu Dec 27 15:38:20 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_stop_navigating_submenu_cb):
|
||||
Call gdk_window_get_pointer() on menu->bin_window not
|
||||
menu->window, so we get the correct window for the
|
||||
menu item. (#65213, Guillermo S. Romero)
|
||||
|
||||
Thu Dec 27 15:13:44 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_set_title): Allow unsetting
|
||||
|
|
|
|||
|
|
@ -2037,7 +2037,7 @@ gtk_menu_stop_navigating_submenu_cb (gpointer user_data)
|
|||
|
||||
if (GTK_WIDGET_REALIZED (menu))
|
||||
{
|
||||
child_window = gdk_window_get_pointer (GTK_WIDGET (menu)->window, NULL, NULL, NULL);
|
||||
child_window = gdk_window_get_pointer (menu->bin_window, NULL, NULL, NULL);
|
||||
|
||||
if (child_window)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue