forked from AuroraMiddleware/gtk
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:
parent
259c3c3699
commit
4cf5ce2e08
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user