|
|
@@ -155,6 +155,9 @@ namespace WallpaperEngine::Render::Drivers::Detectors
|
|
|
|
|
|
XRRCrtcInfo* crtc = XRRGetCrtcInfo (this->m_display, screenResources, info->crtc);
|
|
|
|
|
|
+ if (crtc == nullptr)
|
|
|
+ continue;
|
|
|
+
|
|
|
// add the screen to the list of screens
|
|
|
this->m_screens.push_back (
|
|
|
{
|
|
|
@@ -178,4 +181,4 @@ namespace WallpaperEngine::Render::Drivers::Detectors
|
|
|
this->m_display = nullptr;
|
|
|
}
|
|
|
|
|
|
-}
|
|
|
+}
|