mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 22:10:08 +00:00
Fix display/screen/displaymanager init interdependency
https://bugzilla.gnome.org/show_bug.cgi?id=700444
This commit is contained in:
parent
781b85088f
commit
ae35951a73
@ -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 ();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user