28 if (display && display->Open())
32 LOG(VB_GENERAL, LOG_CRIT,
"MythXOpenDisplay() failed");
48 QString displayname(DisplayString(display->GetDisplay()));
56 if (!displayname.isEmpty() && !displayname.startsWith(
":") &&
57 !displayname.startsWith(
"unix:") && !displayname.startsWith(
"/") &&
58 displayname.contains(
':'))
91 const char *dispCStr =
nullptr;
95 m_disp = XOpenDisplay(dispCStr);
117 return { displayWidthMM, displayHeightMM };