From 33604187674ec78b2c0bf7f67af250acc80cf23a Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Fri, 24 Mar 2017 12:30:58 -0400 Subject: dpms: Consolidate a bunch of stuff into Xext/dpms.c Most of this is a legacy of the old "extmod" design where you could load _some_ extensions dynamically but only if the server had been built with support for them in the first place. Note that since we now only initialize the DPMS extension if at least one screen supports it, we no longer need DPMSCapableFlag: if it would be false, we would never read its value. Signed-off-by: Adam Jackson Reviewed-by: Eric Anholt --- os/utils.c | 1 + 1 file changed, 1 insertion(+) (limited to 'os') diff --git a/os/utils.c b/os/utils.c index ac55cd79f..3f8bac5c6 100644 --- a/os/utils.c +++ b/os/utils.c @@ -135,6 +135,7 @@ Bool noDamageExtension = FALSE; Bool noDbeExtension = FALSE; #endif #ifdef DPMSExtension +#include "dpmsproc.h" Bool noDPMSExtension = FALSE; #endif #ifdef GLXEXT -- cgit v1.2.3