Don't steal the pointer grab from the context menu of the entry. (#148686,

Mon Aug  2 02:07:43 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkentrycompletion.c (_gtk_entry_completion_popdown):
	Don't steal the pointer grab from the context menu of the
	entry.  (#148686, Christian Persch)
This commit is contained in:
Matthias Clasen 2004-08-02 06:09:24 +00:00 committed by Matthias Clasen
parent 4134499c25
commit 02bd687e38

View File

@ -1386,6 +1386,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);