Bug 709939 - monitor reconfiguration while GtkOffscreenWindows

exist triggers crash on quartz. Special case the position update
to ignore the off-screen windows.
This commit is contained in:
Charles Reiss 2013-10-11 15:53:37 -07:00 committed by John Ralls
parent 259c3c3699
commit 4cf5ce2e08

View File

@ -208,7 +208,11 @@ _gdk_quartz_screen_update_window_sizes (GdkScreen *screen)
windows = gdk_screen_get_toplevel_windows (screen);
for (list = windows; list; list = list->next)
_gdk_quartz_window_update_position (list->data);
{
if (GDK_WINDOW_TYPE(list->data) == GDK_WINDOW_OFFSCREEN)
continue;
_gdk_quartz_window_update_position (list->data);
}
g_list_free (windows);
}