• Benjamin Otte's avatar
    display: Add display to displaymanager later · 01c6ecfb
    Benjamin Otte authored
    Instead of GdkDisplay::init, only add the display to the display manager
    in GdkDisplay::opened. This avoids spurious changes of the default
    display in gtk_init() when we're trying to find the one that works and
    try to open lots of different ones.
gdkdisplay.c 60.7 KB