mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 06:21:14 +00:00
Merge branch 'wip/filechooser-non-default-display-gtk4' into 'master'
Fix filechooser dialog using non default display (gtk4) Closes #83 See merge request GNOME/gtk!60
This commit is contained in:
commit
35f92b5695
@ -1514,8 +1514,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))
|
||||
{
|
||||
@ -1529,6 +1527,8 @@ gtk_entry_completion_popup (GtkEntryCompletion *completion)
|
||||
gtk_widget_get_display (completion->priv->entry));
|
||||
gtk_widget_realize (completion->priv->popup_window);
|
||||
|
||||
_gtk_entry_completion_resize_popup (completion);
|
||||
|
||||
if (completion->priv->device)
|
||||
{
|
||||
gtk_grab_add (completion->priv->popup_window);
|
||||
|
Loading…
Reference in New Issue
Block a user