qt_get_net_virtual_roots();
#ifndef QT_NO_XRANDR
- // See if XRandR is supported on the connected display
+ // See if XRandR is supported on the connected display
int xrandr_errorbase;
if (qgetenv("QT_X11_NO_XRANDR").isNull()
&& XQueryExtension(qt_x11Data->display, "RANDR", &qt_x11Data->xrandr_major,
if (qt_x11Data->use_xrender) {
int rsp = XRenderQuerySubpixelOrder(qt_x11Data->display, s);
switch (rsp) {
- default:
- case SubPixelUnknown:
- subpixel = FC_RGBA_UNKNOWN;
- break;
case SubPixelHorizontalRGB:
subpixel = FC_RGBA_RGB;
break;
case SubPixelNone:
subpixel = FC_RGBA_NONE;
break;
+ case SubPixelUnknown:
+ default:
+ subpixel = FC_RGBA_UNKNOWN;
+ break;
}
}
#endif