Commit 0973cf64 authored by Henri Verbeet's avatar Henri Verbeet Committed by Jeremy White
Browse files

Call xf86DPMSInit() in DUMMYScreenInit().



This is probably not strictly needed, but it's easy and gets rid of the
"Xlib:  extension "DPMS" missing on display ":2"." message.
Signed-off-by: default avatarHenri Verbeet <hverbeet@codeweavers.com>
parent bbfae8dd
......@@ -623,6 +623,8 @@ DUMMYScreenInit(SCREEN_INIT_ARGS_DECL)
if (!xf86CrtcScreenInit(pScreen))
return FALSE;
xf86DPMSInit(pScreen, xf86DPMSSet, 0);
if (dPtr->glamor && !glamor_init(pScreen, glamor_flags)) {
xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
"Failed to initialise glamor at ScreenInit() time.\n");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment