mirror of
https://github.com/Almamu/linux-wallpaperengine.git
synced 2025-07-16 06:12:23 +08:00
Add comments
This commit is contained in:
parent
ee499b06e2
commit
ab9486b2f6
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user