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:
committed by
Matthias Clasen
parent
4134499c25
commit
02bd687e38
@ -1386,6 +1386,9 @@ _gtk_entry_completion_popup (GtkEntryCompletion *completion)
|
|||||||
void
|
void
|
||||||
_gtk_entry_completion_popdown (GtkEntryCompletion *completion)
|
_gtk_entry_completion_popdown (GtkEntryCompletion *completion)
|
||||||
{
|
{
|
||||||
|
if (!GTK_WIDGET_MAPPED (completion->priv->popup_window))
|
||||||
|
return;
|
||||||
|
|
||||||
completion->priv->ignore_enter = FALSE;
|
completion->priv->ignore_enter = FALSE;
|
||||||
|
|
||||||
gdk_pointer_ungrab (GDK_CURRENT_TIME);
|
gdk_pointer_ungrab (GDK_CURRENT_TIME);
|
||||||
|
|||||||
Reference in New Issue
Block a user