mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-04 01:31:13 +00:00
Check if popup_window is mapped, not popup_widget
Before hide_all was used on popup_window, which means popup_widget was also unmapped. This is now no longer the case. This fixes subsequent pop ups for appears-as-list == 1.
This commit is contained in:
parent
d50c582961
commit
81515f7183
@ -2290,7 +2290,7 @@ gtk_combo_box_popup_for_device (GtkComboBox *combo_box,
|
|||||||
if (!gtk_widget_get_realized (GTK_WIDGET (combo_box)))
|
if (!gtk_widget_get_realized (GTK_WIDGET (combo_box)))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (gtk_widget_get_mapped (priv->popup_widget))
|
if (gtk_widget_get_mapped (priv->popup_window))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (priv->grab_pointer && priv->grab_keyboard)
|
if (priv->grab_pointer && priv->grab_keyboard)
|
||||||
|
Loading…
Reference in New Issue
Block a user