Cleaning up ifdef MPX from remaining files, removing it from configure.ac.
Removing building mpx extension from Makefile.am
This commit is contained in:
parent
03c554283e
commit
d8b5394eda
18
Changelog
18
Changelog
|
@ -26,6 +26,24 @@ Files:
|
||||||
hw/xfree86/common/xf86Input.h
|
hw/xfree86/common/xf86Input.h
|
||||||
Xi/exevents.c
|
Xi/exevents.c
|
||||||
|
|
||||||
|
____________________________________________________________
|
||||||
|
|
||||||
|
Cleaning up #ifdef MPX from remaining files, removing it from configure.ac.
|
||||||
|
Removing building mpx extension from Makefile.am
|
||||||
|
|
||||||
|
Files:
|
||||||
|
Makefile.am
|
||||||
|
configure.ac
|
||||||
|
hw/xfree86/ramdac/xf86HWCurs.c
|
||||||
|
include/dix-config.h.in
|
||||||
|
include/dix.h
|
||||||
|
include/globals.h
|
||||||
|
include/xorg-server.h.in
|
||||||
|
mi/mieq.c
|
||||||
|
mi/miinitext.c
|
||||||
|
mi/mipointer.c
|
||||||
|
os/utils.c
|
||||||
|
|
||||||
== 12.12.06 ==
|
== 12.12.06 ==
|
||||||
dix: Moving SpriteRec into DeviceIntRec
|
dix: Moving SpriteRec into DeviceIntRec
|
||||||
removing global sprite structure
|
removing global sprite structure
|
||||||
|
|
|
@ -42,7 +42,6 @@ SUBDIRS = \
|
||||||
randr \
|
randr \
|
||||||
render \
|
render \
|
||||||
Xi \
|
Xi \
|
||||||
mpx \
|
|
||||||
xkb \
|
xkb \
|
||||||
$(DBE_DIR) \
|
$(DBE_DIR) \
|
||||||
$(MFB_DIR) \
|
$(MFB_DIR) \
|
||||||
|
@ -79,7 +78,6 @@ DIST_SUBDIRS = \
|
||||||
randr \
|
randr \
|
||||||
render \
|
render \
|
||||||
Xi \
|
Xi \
|
||||||
mpx \
|
|
||||||
xkb \
|
xkb \
|
||||||
dbe \
|
dbe \
|
||||||
mfb \
|
mfb \
|
||||||
|
|
31
configure.ac
31
configure.ac
|
@ -421,8 +421,6 @@ AC_ARG_ENABLE(builtin-fonts, AS_HELP_STRING([--enable-builtin-fonts], [Use only
|
||||||
AC_ARG_ENABLE(null-root-cursor, AS_HELP_STRING([--enable-null-root-cursor], [Use an empty root cursor (default: use core cursor)]),
|
AC_ARG_ENABLE(null-root-cursor, AS_HELP_STRING([--enable-null-root-cursor], [Use an empty root cursor (default: use core cursor)]),
|
||||||
[NULL_ROOT_CURSOR=$enableval],
|
[NULL_ROOT_CURSOR=$enableval],
|
||||||
[NULL_ROOT_CURSOR=no])
|
[NULL_ROOT_CURSOR=no])
|
||||||
AC_ARG_ENABLE(mpx, AS_HELP_STRING([--disable-mpx], [Disable MPX multipointer support (Default: enabled)]), [MPX=$enableval], [MPX=yes])
|
|
||||||
|
|
||||||
dnl Extensions.
|
dnl Extensions.
|
||||||
AC_ARG_ENABLE(composite, AS_HELP_STRING([--disable-composite], [Build Composite extension (default: enabled)]), [COMPOSITE=$enableval], [COMPOSITE=yes])
|
AC_ARG_ENABLE(composite, AS_HELP_STRING([--disable-composite], [Build Composite extension (default: enabled)]), [COMPOSITE=$enableval], [COMPOSITE=yes])
|
||||||
AC_ARG_ENABLE(mitshm, AS_HELP_STRING([--disable-shm], [Build SHM extension (default: enabled)]), [MITSHM=$enableval], [MITSHM=yes])
|
AC_ARG_ENABLE(mitshm, AS_HELP_STRING([--disable-shm], [Build SHM extension (default: enabled)]), [MITSHM=$enableval], [MITSHM=yes])
|
||||||
|
@ -787,16 +785,6 @@ AC_DEFINE(XINPUT, 1, [Support X Input extension])
|
||||||
XI_LIB='$(top_builddir)/Xi/libXi.la'
|
XI_LIB='$(top_builddir)/Xi/libXi.la'
|
||||||
XI_INC='-I$(top_srcdir)/Xi'
|
XI_INC='-I$(top_srcdir)/Xi'
|
||||||
|
|
||||||
dnl Enable MPX multipointer extension
|
|
||||||
AC_MSG_CHECKING([whether to use MPX extension])
|
|
||||||
AC_MSG_RESULT([$MPX])
|
|
||||||
AM_CONDITIONAL(MPX, [test "x$MPX" = xyes])
|
|
||||||
|
|
||||||
if test "x$MPX" = xyes; then
|
|
||||||
AC_DEFINE(MPX, 1, [Support MPX multipointer extension])
|
|
||||||
MPX_LIB='$(top_builddir)/mpx/libmpx.la'
|
|
||||||
MPX_INC='-I$(top_srcdir)/mpx'
|
|
||||||
fi
|
|
||||||
AM_CONDITIONAL(XF86UTILS, test "x$XF86UTILS" = xyes)
|
AM_CONDITIONAL(XF86UTILS, test "x$XF86UTILS" = xyes)
|
||||||
|
|
||||||
AC_DEFINE(SHAPE, 1, [Support SHAPE extension])
|
AC_DEFINE(SHAPE, 1, [Support SHAPE extension])
|
||||||
|
@ -1006,7 +994,7 @@ AC_EGREP_CPP([I_AM_SVR4],[
|
||||||
AC_DEFINE([SVR4],1,[Define to 1 on systems derived from System V Release 4])
|
AC_DEFINE([SVR4],1,[Define to 1 on systems derived from System V Release 4])
|
||||||
AC_MSG_RESULT([yes])], AC_MSG_RESULT([no]))
|
AC_MSG_RESULT([yes])], AC_MSG_RESULT([no]))
|
||||||
|
|
||||||
XSERVER_CFLAGS="$XSERVER_CFLAGS $CORE_INCS $XEXT_INC $COMPOSITE_INC $DAMAGE_INC $FIXES_INC $XI_INC $MI_INC $MIEXT_SHADOW_INC $MIEXT_LAYER_INC $MIEXT_DAMAGE_INC $RENDER_INC $RANDR_INC $FB_INC $MPX_INC"
|
XSERVER_CFLAGS="$XSERVER_CFLAGS $CORE_INCS $XEXT_INC $COMPOSITE_INC $DAMAGE_INC $FIXES_INC $XI_INC $MI_INC $MIEXT_SHADOW_INC $MIEXT_LAYER_INC $MIEXT_DAMAGE_INC $RENDER_INC $RANDR_INC $FB_INC"
|
||||||
AC_DEFINE_UNQUOTED(X_BYTE_ORDER,[$ENDIAN],[Endian order])
|
AC_DEFINE_UNQUOTED(X_BYTE_ORDER,[$ENDIAN],[Endian order])
|
||||||
|
|
||||||
AC_SUBST([XSERVER_LIBS])
|
AC_SUBST([XSERVER_LIBS])
|
||||||
|
@ -1031,7 +1019,7 @@ if test "x$DMX" = xyes; then
|
||||||
modules not found.])
|
modules not found.])
|
||||||
fi
|
fi
|
||||||
DMX_INCLUDES="$XEXT_INC $RENDER_INC $XTRAP_INC $RECORD_INC"
|
DMX_INCLUDES="$XEXT_INC $RENDER_INC $XTRAP_INC $RECORD_INC"
|
||||||
XDMX_LIBS="$FB_LIB $MI_LIB $XEXT_LIB $RENDER_LIB $XTRAP_LIB $RECORD_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $OS_LIB $CWRAP_LIB $MPX_LIB"
|
XDMX_LIBS="$FB_LIB $MI_LIB $XEXT_LIB $RENDER_LIB $XTRAP_LIB $RECORD_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $OS_LIB $CWRAP_LIB"
|
||||||
AC_SUBST([XDMX_LIBS])
|
AC_SUBST([XDMX_LIBS])
|
||||||
|
|
||||||
dnl USB sources in DMX require <linux/input.h>
|
dnl USB sources in DMX require <linux/input.h>
|
||||||
|
@ -1070,7 +1058,7 @@ AC_MSG_RESULT([$XVFB])
|
||||||
AM_CONDITIONAL(XVFB, [test "x$XVFB" = xyes])
|
AM_CONDITIONAL(XVFB, [test "x$XVFB" = xyes])
|
||||||
|
|
||||||
if test "x$XVFB" = xyes; then
|
if test "x$XVFB" = xyes; then
|
||||||
XVFB_LIBS="$FB_LIB $MI_LIB $FIXES_LIB $XEXT_LIB $DBE_LIB $XTRAP_LIB $RECORD_LIB $GLX_LIBS $RENDER_LIB $RANDR_LIB $DAMAGE_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $COMPOSITE_LIB $XPSTUBS_LIB $CWRAP_LIB $OS_LIB $LIBS $MPX_LIB"
|
XVFB_LIBS="$FB_LIB $MI_LIB $FIXES_LIB $XEXT_LIB $DBE_LIB $XTRAP_LIB $RECORD_LIB $GLX_LIBS $RENDER_LIB $RANDR_LIB $DAMAGE_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $COMPOSITE_LIB $XPSTUBS_LIB $CWRAP_LIB $OS_LIB $LIBS"
|
||||||
AC_SUBST([XVFB_LIBS])
|
AC_SUBST([XVFB_LIBS])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -1086,7 +1074,7 @@ AC_MSG_RESULT([$XNEST])
|
||||||
AM_CONDITIONAL(XNEST, [test "x$XNEST" = xyes])
|
AM_CONDITIONAL(XNEST, [test "x$XNEST" = xyes])
|
||||||
|
|
||||||
if test "x$XNEST" = xyes; then
|
if test "x$XNEST" = xyes; then
|
||||||
XNEST_LIBS="$XSERVER_LIBS $FB_LIB $MI_LIB $FIXES_LIB $XEXT_LIB $CONFIG_LIB $DBE_LIB $XTRAP_LIB $RECORD_LIB $GLX_LIBS $RENDER_LIB $RANDR_LIB $DAMAGE_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $COMPOSITE_LIB $XPSTUBS_LIB $CWRAP_LIB $OS_LIB $LIBS $MPX_LIB"
|
XNEST_LIBS="$XSERVER_LIBS $FB_LIB $MI_LIB $FIXES_LIB $XEXT_LIB $CONFIG_LIB $DBE_LIB $XTRAP_LIB $RECORD_LIB $GLX_LIBS $RENDER_LIB $RANDR_LIB $DAMAGE_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $COMPOSITE_LIB $XPSTUBS_LIB $CWRAP_LIB $OS_LIB $LIBS"
|
||||||
AC_SUBST([XNEST_LIBS])
|
AC_SUBST([XNEST_LIBS])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -1115,7 +1103,7 @@ AC_MSG_RESULT([$XGL])
|
||||||
AM_CONDITIONAL(XGL, [test "x$XGL" = xyes])
|
AM_CONDITIONAL(XGL, [test "x$XGL" = xyes])
|
||||||
|
|
||||||
if test "x$XGL" = xyes; then
|
if test "x$XGL" = xyes; then
|
||||||
XGL_LIBS="$FB_LIB $MI_LIB $COMPOSITE_LIB $FIXES_LIB $XEXT_LIB $DBE_LIB $XTRAP_LIB $RECORD_LIB $GLX_LIBS $RENDER_LIB $RANDR_LIB $DAMAGE_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $MIEXT_LAYER_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $XPSTUBS_LIB $CWRAP_LIB $OS_LIB $MPX_LIB"
|
XGL_LIBS="$FB_LIB $MI_LIB $COMPOSITE_LIB $FIXES_LIB $XEXT_LIB $DBE_LIB $XTRAP_LIB $RECORD_LIB $GLX_LIBS $RENDER_LIB $RANDR_LIB $DAMAGE_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $MIEXT_LAYER_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $XPSTUBS_LIB $CWRAP_LIB $OS_LIB"
|
||||||
AC_SUBST([XGL_LIBS])
|
AC_SUBST([XGL_LIBS])
|
||||||
AC_DEFINE(XGL_MODULAR, 1, [Use loadable XGL modules])
|
AC_DEFINE(XGL_MODULAR, 1, [Use loadable XGL modules])
|
||||||
|
|
||||||
|
@ -1136,7 +1124,7 @@ AC_MSG_RESULT([$XEGL])
|
||||||
AM_CONDITIONAL(XEGL, [test "x$XEGL" = xyes])
|
AM_CONDITIONAL(XEGL, [test "x$XEGL" = xyes])
|
||||||
|
|
||||||
if test "x$XEGL" = xyes; then
|
if test "x$XEGL" = xyes; then
|
||||||
XEGL_LIBS="$FB_LIB $MI_LIB $COMPOSITE_LIB $FIXES_LIB $XEXT_LIB $DBE_LIB $XTRAP_LIB $RECORD_LIB $GLX_LIBS $RENDER_LIB $RANDR_LIB $DAMAGE_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $MIEXT_LAYER_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $XPSTUBS_LIB $CWRAP_LIB $OS_LIB $MPX_LIB"
|
XEGL_LIBS="$FB_LIB $MI_LIB $COMPOSITE_LIB $FIXES_LIB $XEXT_LIB $DBE_LIB $XTRAP_LIB $RECORD_LIB $GLX_LIBS $RENDER_LIB $RANDR_LIB $DAMAGE_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $MIEXT_LAYER_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $XPSTUBS_LIB $CWRAP_LIB $OS_LIB"
|
||||||
AC_SUBST([XEGL_LIBS])
|
AC_SUBST([XEGL_LIBS])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -1152,7 +1140,7 @@ AC_MSG_RESULT([$XGLX])
|
||||||
AM_CONDITIONAL(XGLX, [test "x$XGLX" = xyes])
|
AM_CONDITIONAL(XGLX, [test "x$XGLX" = xyes])
|
||||||
|
|
||||||
if test "x$XGLX" = xyes; then
|
if test "x$XGLX" = xyes; then
|
||||||
XGLX_LIBS="$FB_LIB $MI_LIB $COMPOSITE_LIB $FIXES_LIB $XEXT_LIB $DBE_LIB $XTRAP_LIB $RECORD_LIB $GLX_LIBS $RENDER_LIB $RANDR_LIB $DAMAGE_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $MIEXT_LAYER_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $XPSTUBS_LIB $CWRAP_LIB $OS_LIB $MPX_LIB"
|
XGLX_LIBS="$FB_LIB $MI_LIB $COMPOSITE_LIB $FIXES_LIB $XEXT_LIB $DBE_LIB $XTRAP_LIB $RECORD_LIB $GLX_LIBS $RENDER_LIB $RANDR_LIB $DAMAGE_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $MIEXT_LAYER_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $XPSTUBS_LIB $CWRAP_LIB $OS_LIB"
|
||||||
AC_SUBST([XGLX_LIBS])
|
AC_SUBST([XGLX_LIBS])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -1173,7 +1161,7 @@ if test "x$XORG" = xyes -o "x$XGL" = xyes; then
|
||||||
XORG_OSINCS='-I$(top_srcdir)/hw/xfree86/os-support -I$(top_srcdir)/hw/xfree86/os-support/bus -I$(top_srcdir)/os'
|
XORG_OSINCS='-I$(top_srcdir)/hw/xfree86/os-support -I$(top_srcdir)/hw/xfree86/os-support/bus -I$(top_srcdir)/os'
|
||||||
XORG_INCS="$XORG_DDXINCS $XORG_OSINCS"
|
XORG_INCS="$XORG_DDXINCS $XORG_OSINCS"
|
||||||
XORG_CFLAGS="$XORGSERVER_CFLAGS -DHAVE_XORG_CONFIG_H"
|
XORG_CFLAGS="$XORGSERVER_CFLAGS -DHAVE_XORG_CONFIG_H"
|
||||||
XORG_LIBS="$COMPOSITE_LIB $MI_LIB $FIXES_LIB $XEXTXORG_LIB $GLX_LIBS $RENDER_LIB $RANDR_LIB $DAMAGE_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $XI_LIB $XKB_LIB $XPSTUBS_LIB $OS_LIB $MPX_LIB"
|
XORG_LIBS="$COMPOSITE_LIB $MI_LIB $FIXES_LIB $XEXTXORG_LIB $GLX_LIBS $RENDER_LIB $RANDR_LIB $DAMAGE_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $XI_LIB $XKB_LIB $XPSTUBS_LIB $OS_LIB"
|
||||||
|
|
||||||
if test "x$DGA" = xauto; then
|
if test "x$DGA" = xauto; then
|
||||||
PKG_CHECK_MODULES(DGA, xf86dgaproto, [DGA=yes], [DGA=no])
|
PKG_CHECK_MODULES(DGA, xf86dgaproto, [DGA=yes], [DGA=no])
|
||||||
|
@ -1639,7 +1627,7 @@ if test "$KDRIVE" = yes; then
|
||||||
# dix os fb mi extension glx (NOTYET) damage shadow xpstubs
|
# dix os fb mi extension glx (NOTYET) damage shadow xpstubs
|
||||||
#KDRIVE_PURE_LIBS="$DIX_LIB $OS_LIB $FB_LIB $XEXT_LIB $MIEXT_DAMAGE_LIB \
|
#KDRIVE_PURE_LIBS="$DIX_LIB $OS_LIB $FB_LIB $XEXT_LIB $MIEXT_DAMAGE_LIB \
|
||||||
# $MIEXT_SHADOW_LIB $XPSTUBS_LIB"
|
# $MIEXT_SHADOW_LIB $XPSTUBS_LIB"
|
||||||
KDRIVE_PURE_LIBS="$FB_LIB $MI_LIB $FIXES_LIB $XEXT_LIB $DBE_LIB $XTRAP_LIB $RECORD_LIB $GLX_LIBS $RENDER_LIB $RANDR_LIB $DAMAGE_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $COMPOSITE_LIB $XPSTUBS_LIB $OS_LIB $MPX_LIB"
|
KDRIVE_PURE_LIBS="$FB_LIB $MI_LIB $FIXES_LIB $XEXT_LIB $DBE_LIB $XTRAP_LIB $RECORD_LIB $GLX_LIBS $RENDER_LIB $RANDR_LIB $DAMAGE_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $COMPOSITE_LIB $XPSTUBS_LIB $OS_LIB"
|
||||||
KDRIVE_LIB='$(top_builddir)/hw/kdrive/src/libkdrive.a'
|
KDRIVE_LIB='$(top_builddir)/hw/kdrive/src/libkdrive.a'
|
||||||
case $host_os in
|
case $host_os in
|
||||||
*linux*)
|
*linux*)
|
||||||
|
@ -1830,7 +1818,6 @@ render/Makefile
|
||||||
xkb/Makefile
|
xkb/Makefile
|
||||||
Xext/Makefile
|
Xext/Makefile
|
||||||
Xi/Makefile
|
Xi/Makefile
|
||||||
mpx/Makefile
|
|
||||||
xfixes/Makefile
|
xfixes/Makefile
|
||||||
exa/Makefile
|
exa/Makefile
|
||||||
hw/Makefile
|
hw/Makefile
|
||||||
|
|
|
@ -73,12 +73,9 @@ static unsigned char* RealizeCursorInterleave64(xf86CursorInfoPtr, CursorPtr);
|
||||||
Bool
|
Bool
|
||||||
xf86InitHardwareCursor(ScreenPtr pScreen, xf86CursorInfoPtr infoPtr)
|
xf86InitHardwareCursor(ScreenPtr pScreen, xf86CursorInfoPtr infoPtr)
|
||||||
{
|
{
|
||||||
|
|
||||||
#ifdef MPX
|
|
||||||
/* Graphics cards cannot render multiple cursors in hardware. We have to
|
/* Graphics cards cannot render multiple cursors in hardware. We have to
|
||||||
software render them. */
|
software render them. */
|
||||||
return FALSE;
|
return FALSE;
|
||||||
#endif
|
|
||||||
|
|
||||||
if ((infoPtr->MaxWidth <= 0) || (infoPtr->MaxHeight <= 0))
|
if ((infoPtr->MaxWidth <= 0) || (infoPtr->MaxHeight <= 0))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
|
@ -350,9 +350,6 @@
|
||||||
/* Support X Input extension */
|
/* Support X Input extension */
|
||||||
#undef XINPUT
|
#undef XINPUT
|
||||||
|
|
||||||
/* Support MPX multipointer extension */
|
|
||||||
#undef MPX
|
|
||||||
|
|
||||||
/* Build XKB */
|
/* Build XKB */
|
||||||
#undef XKB
|
#undef XKB
|
||||||
|
|
||||||
|
|
|
@ -825,8 +825,6 @@ extern int xstrcasecmp(char *s1, char *s2);
|
||||||
/* ffs.c */
|
/* ffs.c */
|
||||||
extern int ffs(int i);
|
extern int ffs(int i);
|
||||||
|
|
||||||
#ifdef MPX
|
extern Bool DevHasCursor(DeviceIntPtr pDev);
|
||||||
extern Bool MPHasCursor(DeviceIntPtr pDev);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* DIX_H */
|
#endif /* DIX_H */
|
||||||
|
|
|
@ -63,10 +63,6 @@ extern Bool noCompositeExtension;
|
||||||
extern Bool noDamageExtension;
|
extern Bool noDamageExtension;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef MPX
|
|
||||||
extern Bool noMPXExtension;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef DBE
|
#ifdef DBE
|
||||||
extern Bool noDbeExtension;
|
extern Bool noDbeExtension;
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -142,9 +142,6 @@
|
||||||
/* Support X Input extension */
|
/* Support X Input extension */
|
||||||
#undef XINPUT
|
#undef XINPUT
|
||||||
|
|
||||||
/* Support MPX multipointer extension */
|
|
||||||
#undef MPX
|
|
||||||
|
|
||||||
/* Build XKB */
|
/* Build XKB */
|
||||||
#undef XKB
|
#undef XKB
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,6 @@ in this Software without prior written authorization from The Open Group.
|
||||||
*
|
*
|
||||||
* Author: Keith Packard, MIT X Consortium
|
* Author: Keith Packard, MIT X Consortium
|
||||||
*/
|
*/
|
||||||
#ifdef MPX
|
|
||||||
/*
|
/*
|
||||||
* MPX additions:
|
* MPX additions:
|
||||||
* Copyright © 2006 Peter Hutterer
|
* Copyright © 2006 Peter Hutterer
|
||||||
|
@ -32,7 +31,6 @@ in this Software without prior written authorization from The Open Group.
|
||||||
* Author: Peter Hutterer <peter@cs.unisa.edu.au>
|
* Author: Peter Hutterer <peter@cs.unisa.edu.au>
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* mieq.c
|
* mieq.c
|
||||||
|
@ -110,13 +108,10 @@ mieqEnqueue(DeviceIntPtr pDev, xEvent *e)
|
||||||
deviceKeyButtonPointer *lastkbp = (deviceKeyButtonPointer *)
|
deviceKeyButtonPointer *lastkbp = (deviceKeyButtonPointer *)
|
||||||
&laste->event[0];
|
&laste->event[0];
|
||||||
|
|
||||||
#ifdef MPX
|
|
||||||
/* avoid merging events from different devices */
|
/* avoid merging events from different devices */
|
||||||
if (e->u.u.type == MotionNotify && pDev->isMPDev)
|
if (e->u.u.type == MotionNotify && pDev->isMPDev)
|
||||||
isMotion = pDev->id;
|
isMotion = pDev->id;
|
||||||
else
|
else if (e->u.u.type == MotionNotify)
|
||||||
#endif
|
|
||||||
if (e->u.u.type == MotionNotify)
|
|
||||||
isMotion = inputInfo.pointer->id;
|
isMotion = inputInfo.pointer->id;
|
||||||
else if (e->u.u.type == DeviceMotionNotify)
|
else if (e->u.u.type == DeviceMotionNotify)
|
||||||
isMotion = pDev->id | (1 << 8); /* flag to indicate DeviceMotion */
|
isMotion = pDev->id | (1 << 8); /* flag to indicate DeviceMotion */
|
||||||
|
|
|
@ -384,9 +384,6 @@ extern void DamageExtensionInit(INITARGS);
|
||||||
#ifdef COMPOSITE
|
#ifdef COMPOSITE
|
||||||
extern void CompositeExtensionInit(INITARGS);
|
extern void CompositeExtensionInit(INITARGS);
|
||||||
#endif
|
#endif
|
||||||
#ifdef MPX
|
|
||||||
extern void MPXExtensionInit(INITARGS);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* The following is only a small first step towards run-time
|
/* The following is only a small first step towards run-time
|
||||||
* configurable extensions.
|
* configurable extensions.
|
||||||
|
@ -666,9 +663,6 @@ InitExtensions(argc, argv)
|
||||||
#ifdef DAMAGE
|
#ifdef DAMAGE
|
||||||
if (!noDamageExtension) DamageExtensionInit();
|
if (!noDamageExtension) DamageExtensionInit();
|
||||||
#endif
|
#endif
|
||||||
#ifdef MPX
|
|
||||||
if (!noMPXExtension) MPXExtensionInit();
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
@ -738,9 +732,6 @@ static ExtensionModule staticExtensions[] = {
|
||||||
#endif
|
#endif
|
||||||
#ifdef XEVIE
|
#ifdef XEVIE
|
||||||
{ XevieExtensionInit, "XEVIE", &noXevieExtension, NULL },
|
{ XevieExtensionInit, "XEVIE", &noXevieExtension, NULL },
|
||||||
#endif
|
|
||||||
#ifdef MPX
|
|
||||||
{ MPXExtensionInit, "MPX", &noMPXExtension, NULL },
|
|
||||||
#endif
|
#endif
|
||||||
{ NULL, NULL, NULL, NULL, NULL }
|
{ NULL, NULL, NULL, NULL, NULL }
|
||||||
};
|
};
|
||||||
|
|
|
@ -189,9 +189,4 @@ extern void miPointerMoved(
|
||||||
|
|
||||||
extern int miPointerScreenIndex;
|
extern int miPointerScreenIndex;
|
||||||
|
|
||||||
#ifdef MPX
|
|
||||||
_X_EXPORT Bool IsMPDev(DeviceIntPtr pDev);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
#endif /* MIPOINTER_H */
|
#endif /* MIPOINTER_H */
|
||||||
|
|
|
@ -252,9 +252,6 @@ _X_EXPORT Bool noXIdleExtension = FALSE;
|
||||||
#ifdef XV
|
#ifdef XV
|
||||||
_X_EXPORT Bool noXvExtension = FALSE;
|
_X_EXPORT Bool noXvExtension = FALSE;
|
||||||
#endif
|
#endif
|
||||||
#ifdef MPX
|
|
||||||
_X_EXPORT Bool noMPXExtension = FALSE;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define X_INCLUDE_NETDB_H
|
#define X_INCLUDE_NETDB_H
|
||||||
#include <X11/Xos_r.h>
|
#include <X11/Xos_r.h>
|
||||||
|
|
Loading…
Reference in New Issue