[PATCH x11spice 07/10] Call xf86DPMSInit() in DUMMYScreenInit().

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Henri Verbeet <hverbeet@xxxxxxxxxxxxxxx>

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: Henri Verbeet <hverbeet@xxxxxxxxxxxxxxx>
Signed-off-by: Jeremy White <jwhite@xxxxxxxxxxxxxxx>
---
 spice-video-dummy/src/spicedummy_driver.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/spice-video-dummy/src/spicedummy_driver.c b/spice-video-dummy/src/spicedummy_driver.c
index 18e96cec..543a3b45 100644
--- a/spice-video-dummy/src/spicedummy_driver.c
+++ b/spice-video-dummy/src/spicedummy_driver.c
@@ -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");
-- 
2.20.1

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]