+Sat Feb 2 19:15:42 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkmenu.c (gtk_menu_popup): Fix some bugs in
+ the determination of xgrab_shell.
+
Sat Feb 2 17:43:00 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkentry.c (gtk_entry_grab_focus): Add a GtkSetting
+Sat Feb 2 19:15:42 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkmenu.c (gtk_menu_popup): Fix some bugs in
+ the determination of xgrab_shell.
+
Sat Feb 2 17:43:00 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkentry.c (gtk_entry_grab_focus): Add a GtkSetting
+Sat Feb 2 19:15:42 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkmenu.c (gtk_menu_popup): Fix some bugs in
+ the determination of xgrab_shell.
+
Sat Feb 2 17:43:00 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkentry.c (gtk_entry_grab_focus): Add a GtkSetting
+Sat Feb 2 19:15:42 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkmenu.c (gtk_menu_popup): Fix some bugs in
+ the determination of xgrab_shell.
+
Sat Feb 2 17:43:00 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkentry.c (gtk_entry_grab_focus): Add a GtkSetting
+Sat Feb 2 19:15:42 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkmenu.c (gtk_menu_popup): Fix some bugs in
+ the determination of xgrab_shell.
+
Sat Feb 2 17:43:00 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkentry.c (gtk_entry_grab_focus): Add a GtkSetting
+Sat Feb 2 19:15:42 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkmenu.c (gtk_menu_popup): Fix some bugs in
+ the determination of xgrab_shell.
+
Sat Feb 2 17:43:00 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkentry.c (gtk_entry_grab_focus): Add a GtkSetting
+Sat Feb 2 19:15:42 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkmenu.c (gtk_menu_popup): Fix some bugs in
+ the determination of xgrab_shell.
+
Sat Feb 2 17:43:00 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkentry.c (gtk_entry_grab_focus): Add a GtkSetting
* probably could just leave the grab on the other window, with a
* little reorganization of the code in gtkmenu*).
*/
- if (xgrab_shell == widget)
+ if (xgrab_shell && xgrab_shell != widget)
{
if (popup_grab_on_window (xgrab_shell->window, activate_time))
GTK_MENU_SHELL (xgrab_shell)->have_xgrab = TRUE;