Use QX11Info::connection() instead of this