Add comments

This commit is contained in:
Phantasm 2023-08-06 18:09:57 +02:00
parent 1457d0b4c1
commit ed17c126f6
No known key found for this signature in database
GPG Key ID: 2669E588BCC634C8
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;