Add comments

This commit is contained in:
Phantasm 2023-08-06 18:09:57 +02:00 committed by Alexis Maiquez
parent ee499b06e2
commit ab9486b2f6
2 changed files with 2 additions and 0 deletions

View File

@ -155,6 +155,7 @@ namespace WallpaperEngine::Render::Drivers::Detectors
XRRCrtcInfo* crtc = XRRGetCrtcInfo (this->m_display, screenResources, info->crtc);
// screen not active, ignore it
if (crtc == nullptr)
continue;

View File

@ -136,6 +136,7 @@ void CX11Output::loadScreenInfo ()
XRRCrtcInfo* crtc = XRRGetCrtcInfo (this->m_display, screenResources, info->crtc);
// screen not active, ignore it
if (crtc == nullptr)
continue;