diff options
Diffstat (limited to 'mi')
-rw-r--r-- | mi/miinitext.c | 13 | ||||
-rw-r--r-- | mi/mipointer.c | 6 |
2 files changed, 3 insertions, 16 deletions
diff --git a/mi/miinitext.c b/mi/miinitext.c index 1da31eb43..844863a59 100644 --- a/mi/miinitext.c +++ b/mi/miinitext.c @@ -55,7 +55,6 @@ SOFTWARE. #ifdef HAVE_DMX_CONFIG_H #include <dmx-config.h> -#undef MULTIBUFFER #undef XV #undef DBE #undef XF86VIDMODE @@ -116,9 +115,6 @@ extern Bool noScreenSaverExtension; #ifdef MITSHM extern Bool noMITShmExtension; #endif -#ifdef MULTIBUFFER -extern Bool noMultibufferExtension; -#endif #ifdef RANDR extern Bool noRRExtension; #endif @@ -193,9 +189,6 @@ typedef void (*InitExtension)(INITARGS); #ifdef MITSHM extern void ShmExtensionInit(INITARGS); #endif -#ifdef MULTIBUFFER -extern void MultibufferExtensionInit(INITARGS); -#endif #ifdef PANORAMIX extern void PanoramiXExtensionInit(INITARGS); #endif @@ -304,9 +297,6 @@ static ExtensionToggle ExtensionToggleList[] = #ifdef MITSHM { SHMNAME, &noMITShmExtension }, #endif -#ifdef MULTIBUFFER - { "Multi-Buffering", &noMultibufferExtension }, -#endif #ifdef RANDR { "RANDR", &noRRExtension }, #endif @@ -410,9 +400,6 @@ InitExtensions(int argc, char *argv[]) #ifdef MITSHM if (!noMITShmExtension) ShmExtensionInit(); #endif -#ifdef MULTIBUFFER - if (!noMultibufferExtension) MultibufferExtensionInit(); -#endif XInputExtensionInit(); #ifdef XTEST if (!noTestExtensions) XTestExtensionInit(); diff --git a/mi/mipointer.c b/mi/mipointer.c index e1f63be4e..1b33f82d5 100644 --- a/mi/mipointer.c +++ b/mi/mipointer.c @@ -497,14 +497,14 @@ miPointerSetPosition(DeviceIntPtr pDev, int *x, int *y) miPointerPtr pPointer; + if (!pDev || !pDev->coreEvents) + return; + pPointer = MIPOINTER(pDev); pScreen = pPointer->pScreen; if (!pScreen) return; /* called before ready */ - if (!pDev || !pDev->coreEvents) - return; - if (*x < 0 || *x >= pScreen->width || *y < 0 || *y >= pScreen->height) { pScreenPriv = GetScreenPrivate (pScreen); |