From 92082a0a00f05ecdc90814a8104828853c9c8f29 Mon Sep 17 00:00:00 2001 From: Jon TURNEY Date: Sun, 2 Nov 2008 18:27:15 +0000 Subject: [PATCH] Cygwin/X: update to use standard DPMS stubs Bring Cygwin/X up to date with DPMS API changes by using the standard stubs Signed-off-by: Jon TURNEY --- hw/xwin/InitOutput.c | 17 ----------------- hw/xwin/Makefile.am | 1 + 2 files changed, 1 insertion(+), 17 deletions(-) diff --git a/hw/xwin/InitOutput.c b/hw/xwin/InitOutput.c index abc35b943..291593bc9 100644 --- a/hw/xwin/InitOutput.c +++ b/hw/xwin/InitOutput.c @@ -1120,20 +1120,3 @@ winCheckDisplayNumber () return TRUE; } - -#ifdef DPMSExtension -Bool DPMSSupported(void) -{ - return FALSE; -} - -void DPMSSet(int level) -{ - return; -} - -int DPMSGet(int *plevel) -{ - return 0; -} -#endif diff --git a/hw/xwin/Makefile.am b/hw/xwin/Makefile.am index 3c6b963a0..504c2a6cd 100644 --- a/hw/xwin/Makefile.am +++ b/hw/xwin/Makefile.am @@ -120,6 +120,7 @@ SRCS = InitInput.c \ winresource.h \ winwindow.h \ XWin.rc \ + $(top_srcdir)/Xext/dpmsstubs.c \ $(top_srcdir)/Xi/stubs.c \ $(top_srcdir)/mi/miinitext.c \ $(top_srcdir)/fb/fbcmap_mi.c \