mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-03 12:28:04 +02:00
Log enabling of DPMS even when it's not set in xorg.conf
This commit is contained in:
parent
7e76221659
commit
260505e3c5
1 changed files with 2 additions and 1 deletions
|
|
@ -79,7 +79,6 @@ xf86DPMSInit(ScreenPtr pScreen, DPMSSetProcPtr set, int flags)
|
|||
&& !DPMSDisabledSwitch)
|
||||
DPMSEnabled = TRUE;
|
||||
xf86MarkOptionUsed(DPMSOpt);
|
||||
xf86DrvMsg(pScreen->myNum, X_CONFIG, "DPMS enabled\n");
|
||||
} else if (DPMSEnabledSwitch) {
|
||||
if (!DPMSDisabledSwitch)
|
||||
DPMSEnabled = TRUE;
|
||||
|
|
@ -88,6 +87,8 @@ xf86DPMSInit(ScreenPtr pScreen, DPMSSetProcPtr set, int flags)
|
|||
else {
|
||||
pDPMS->Enabled = defaultDPMSEnabled;
|
||||
}
|
||||
if (pDPMS->Enabled)
|
||||
xf86DrvMsg(pScreen->myNum, X_CONFIG, "DPMS enabled\n");
|
||||
pDPMS->CloseScreen = pScreen->CloseScreen;
|
||||
pScreen->CloseScreen = DPMSClose;
|
||||
DPMSCount++;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue