summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2008-11-02 18:27:15 +0000
committerJon TURNEY <jon.turney@dronecode.org.uk>2008-12-17 13:37:39 +0000
commit92082a0a00f05ecdc90814a8104828853c9c8f29 (patch)
tree5741bfedc71f526f9992a7731f0a5c65a0106337
parent2850f26bb2999ef3fb2a10adb80fe358463aecb5 (diff)
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 <jon.turney@dronecode.org.uk>
-rw-r--r--hw/xwin/InitOutput.c17
-rw-r--r--hw/xwin/Makefile.am1
2 files changed, 1 insertions, 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 \