소스 검색

Add comments

Phantasm 3 년 전
부모
커밋
ab9486b2f6

+ 1 - 0
src/WallpaperEngine/Render/Drivers/Detectors/CX11FullScreenDetector.cpp

@@ -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;
 

+ 1 - 0
src/WallpaperEngine/Render/Drivers/Output/CX11Output.cpp

@@ -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;