quartz: Drop another use of gdk_display_get_toplevel_windows

This one was forgotten in the previous commit.
This commit is contained in:
Matthias Clasen 2017-11-05 18:30:03 -05:00
parent 4f701c71f1
commit e980f68f5b

View File

@ -681,10 +681,9 @@ _gdk_quartz_window_did_resign_main (GdkWindow *window)
{
GList *toplevels;
toplevels = gdk_display_get_toplevel_windows (_gdk_display);
toplevels = get_toplevels ();
if (toplevels)
new_window = toplevels->data;
g_list_free (toplevels);
}
if (new_window &&