Fix some bugs in the determination of xgrab_shell.
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.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
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
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
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
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
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
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
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
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
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
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
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
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
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
|
||||
|
||||
@@ -688,7 +688,7 @@ gtk_menu_popup (GtkMenu *menu,
|
||||
* 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;
|
||||
|
||||
Reference in New Issue
Block a user