From ed31e5a0480639676d869e94eef1b45b8c53732e Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 2 Aug 2004 06:08:58 +0000 Subject: [PATCH] Don't steal the pointer grab from the context menu of the entry. (#148686, Mon Aug 2 02:07:43 2004 Matthias Clasen * gtk/gtkentrycompletion.c (_gtk_entry_completion_popdown): Don't steal the pointer grab from the context menu of the entry. (#148686, Christian Persch) --- ChangeLog | 6 ++++++ ChangeLog.pre-2-10 | 6 ++++++ ChangeLog.pre-2-6 | 6 ++++++ ChangeLog.pre-2-8 | 6 ++++++ gtk/gtkentrycompletion.c | 3 +++ 5 files changed, 27 insertions(+) diff --git a/ChangeLog b/ChangeLog index 6772935224..59d69bfcfd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Mon Aug 2 02:07:43 2004 Matthias Clasen + + * gtk/gtkentrycompletion.c (_gtk_entry_completion_popdown): + Don't steal the pointer grab from the context menu of the + entry. (#148686, Christian Persch) + Mon Aug 2 01:02:57 2004 Matthias Clasen * gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed): diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 6772935224..59d69bfcfd 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +Mon Aug 2 02:07:43 2004 Matthias Clasen + + * gtk/gtkentrycompletion.c (_gtk_entry_completion_popdown): + Don't steal the pointer grab from the context menu of the + entry. (#148686, Christian Persch) + Mon Aug 2 01:02:57 2004 Matthias Clasen * gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed): diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 6772935224..59d69bfcfd 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,9 @@ +Mon Aug 2 02:07:43 2004 Matthias Clasen + + * gtk/gtkentrycompletion.c (_gtk_entry_completion_popdown): + Don't steal the pointer grab from the context menu of the + entry. (#148686, Christian Persch) + Mon Aug 2 01:02:57 2004 Matthias Clasen * gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed): diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 6772935224..59d69bfcfd 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +Mon Aug 2 02:07:43 2004 Matthias Clasen + + * gtk/gtkentrycompletion.c (_gtk_entry_completion_popdown): + Don't steal the pointer grab from the context menu of the + entry. (#148686, Christian Persch) + Mon Aug 2 01:02:57 2004 Matthias Clasen * gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed): diff --git a/gtk/gtkentrycompletion.c b/gtk/gtkentrycompletion.c index c54f969dc7..837a7df85b 100644 --- a/gtk/gtkentrycompletion.c +++ b/gtk/gtkentrycompletion.c @@ -1266,6 +1266,9 @@ _gtk_entry_completion_popup (GtkEntryCompletion *completion) void _gtk_entry_completion_popdown (GtkEntryCompletion *completion) { + if (!GTK_WIDGET_MAPPED (completion->priv->popup_window)) + return; + completion->priv->ignore_enter = FALSE; gdk_pointer_ungrab (GDK_CURRENT_TIME);