summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2017-03-24 12:30:58 -0400
committerAdam Jackson <ajax@redhat.com>2017-03-27 15:59:47 -0400
commit33604187674ec78b2c0bf7f67af250acc80cf23a (patch)
treeae4f7590ff339c3149e7a9932c9af922962f961a /os
parent7f1ef9289d974fc2bacc968ae0b5d7714382cb9e (diff)
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 <ajax@redhat.com> Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'os')
-rw-r--r--os/utils.c1
1 files changed, 1 insertions, 0 deletions
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