mirror of
https://github.com/Almamu/linux-wallpaperengine.git
synced 2025-07-16 14:22:24 +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);
|
XRRCrtcInfo* crtc = XRRGetCrtcInfo (this->m_display, screenResources, info->crtc);
|
||||||
|
|
||||||
|
// screen not active, ignore it
|
||||||
if (crtc == nullptr)
|
if (crtc == nullptr)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
@ -136,6 +136,7 @@ void CX11Output::loadScreenInfo ()
|
|||||||
|
|
||||||
XRRCrtcInfo* crtc = XRRGetCrtcInfo (this->m_display, screenResources, info->crtc);
|
XRRCrtcInfo* crtc = XRRGetCrtcInfo (this->m_display, screenResources, info->crtc);
|
||||||
|
|
||||||
|
// screen not active, ignore it
|
||||||
if (crtc == nullptr)
|
if (crtc == nullptr)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user