Fix display/screen/displaymanager init interdependency

https://bugzilla.gnome.org/show_bug.cgi?id=700444
This commit is contained in:
Руслан Ижбулатов 2013-05-04 10:43:11 +04:00 committed by Alexander Larsson
parent 781b85088f
commit ae35951a73

View File

@ -228,7 +228,7 @@ _gdk_windowing_window_init (GdkScreen *screen)
window->visual = gdk_screen_get_system_visual (screen);
window->window_type = GDK_WINDOW_ROOT;
window->depth = gdk_visual_get_system ()->depth;
window->depth = window->visual->depth;
_gdk_root_window_size_init ();