(submit/miext-extinit) Xext: saver: unexport noScreenSaverExtension

This field isn't used by any drivers, and also better belongs into
the corresponding extension instead of OS adaption layer.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-06-28 19:18:10 +02:00
parent 6e317533b0
commit 73f1b8fb78
5 changed files with 4 additions and 7 deletions

View File

@ -61,6 +61,8 @@ in this Software without prior written authorization from the X Consortium.
#include "protocol-versions.h" #include "protocol-versions.h"
#include "extinit_priv.h" #include "extinit_priv.h"
Bool noScreenSaverExtension = FALSE;
static int ScreenSaverEventBase = 0; static int ScreenSaverEventBase = 0;
static Bool ScreenSaverHandle(ScreenPtr pScreen, int xstate, Bool force); static Bool ScreenSaverHandle(ScreenPtr pScreen, int xstate, Bool force);

View File

@ -37,6 +37,7 @@
#include <X11/Xatom.h> #include <X11/Xatom.h>
#include <X11/Xfuncproto.h> #include <X11/Xfuncproto.h>
#include "include/extinit_priv.h"
#include "os/osdep.h" #include "os/osdep.h"
#include "os/xserver_poll.h" #include "os/xserver_poll.h"

View File

@ -62,10 +62,6 @@ extern _X_EXPORT Bool noCompositeExtension;
extern _X_EXPORT Bool noPanoramiXExtension; extern _X_EXPORT Bool noPanoramiXExtension;
#endif #endif
#if defined(SCREENSAVER)
extern _X_EXPORT Bool noScreenSaverExtension;
#endif
#ifdef MITSHM #ifdef MITSHM
extern _X_EXPORT Bool noMITShmExtension; extern _X_EXPORT Bool noMITShmExtension;
#endif #endif

View File

@ -16,6 +16,7 @@ extern Bool noGlxExtension;
extern Bool noRenderExtension; extern Bool noRenderExtension;
extern Bool noResExtension; extern Bool noResExtension;
extern Bool noRRExtension; extern Bool noRRExtension;
extern Bool noScreenSaverExtension;
extern Bool noShapeExtension; extern Bool noShapeExtension;
extern Bool noTestExtensions; extern Bool noTestExtensions;

View File

@ -124,9 +124,6 @@ __stdcall unsigned long GetTickCount(void);
#ifdef COMPOSITE #ifdef COMPOSITE
Bool noCompositeExtension = FALSE; Bool noCompositeExtension = FALSE;
#endif #endif
#ifdef SCREENSAVER
Bool noScreenSaverExtension = FALSE;
#endif
#ifdef MITSHM #ifdef MITSHM
Bool noMITShmExtension = FALSE; Bool noMITShmExtension = FALSE;
#endif #endif