Commit cac2845b authored by Matthias Clasen's avatar Matthias Clasen

Merge branch 'wip/filechooser-non-default-display-gtk3' into 'gtk-3-22'

Fix filechooser dialog using non default display (gtk3)

See merge request GNOME/gtk!59
parents 3ee7604d ba83a2c4
......@@ -1648,8 +1648,6 @@ gtk_entry_completion_popup (GtkEntryCompletion *completion)
/* default on no match */
completion->priv->current_selected = -1;
_gtk_entry_completion_resize_popup (completion);
toplevel = gtk_widget_get_toplevel (completion->priv->entry);
if (GTK_IS_WINDOW (toplevel))
{
......@@ -1662,6 +1660,8 @@ gtk_entry_completion_popup (GtkEntryCompletion *completion)
gtk_window_set_screen (GTK_WINDOW (completion->priv->popup_window),
gtk_widget_get_screen (completion->priv->entry));
_gtk_entry_completion_resize_popup (completion);
if (completion->priv->device)
{
gtk_grab_add (completion->priv->popup_window);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment