3360418767
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>
23 lines
449 B
C
23 lines
449 B
C
/* Prototypes for functions that the DDX must provide */
|
|
|
|
#ifdef HAVE_DIX_CONFIG_H
|
|
#include <dix-config.h>
|
|
#endif
|
|
|
|
#ifndef _DPMSPROC_H_
|
|
#define _DPMSPROC_H_
|
|
|
|
#include "dixstruct.h"
|
|
|
|
extern int DPMSSet(ClientPtr client, int level);
|
|
extern Bool DPMSSupported(void);
|
|
|
|
extern CARD32 DPMSStandbyTime;
|
|
extern CARD32 DPMSSuspendTime;
|
|
extern CARD32 DPMSOffTime;
|
|
extern CARD16 DPMSPowerLevel;
|
|
extern Bool DPMSEnabled;
|
|
extern Bool DPMSDisabledSwitch;
|
|
|
|
#endif
|