Merge remote branch 'whot/master'
This commit is contained in:
		
						commit
						98c8b75225
					
				
							
								
								
									
										14
									
								
								configure.ac
								
								
								
								
							
							
						
						
									
										14
									
								
								configure.ac
								
								
								
								
							| 
						 | 
				
			
			@ -1881,11 +1881,15 @@ AM_CONDITIONAL(XQUARTZ_SPARKLE, [test "x$XQUARTZ_SPARKLE" != "xno"])
 | 
			
		|||
AM_CONDITIONAL(STANDALONE_XPBPROXY, [test "x$STANDALONE_XPBPROXY" = xyes])
 | 
			
		||||
 | 
			
		||||
dnl DMX DDX
 | 
			
		||||
PKG_CHECK_MODULES([DMXMODULES],
 | 
			
		||||
    [xmuu $LIBXEXT x11 xrender xfixes xfont $LIBXI $DMXPROTO xau $XDMCP_MODULES],
 | 
			
		||||
    PKG_CHECK_MODULES([XDMXCONFIG_DEP], [xaw7 xmu xt xpm x11], [have_dmx=yes],
 | 
			
		||||
                      [have_dmx=no]),
 | 
			
		||||
    [have_dmx=no])
 | 
			
		||||
PKG_CHECK_MODULES(
 | 
			
		||||
	[DMXMODULES],
 | 
			
		||||
	[xmuu $LIBXEXT x11 xrender xfixes xfont $LIBXI $DMXPROTO xau $XDMCP_MODULES],
 | 
			
		||||
	[PKG_CHECK_MODULES(
 | 
			
		||||
		[XDMXCONFIG_DEP],
 | 
			
		||||
		[xaw7 xmu xt xpm x11],
 | 
			
		||||
		[have_dmx=yes],
 | 
			
		||||
		[have_dmx=no])],
 | 
			
		||||
	[have_dmx=no])
 | 
			
		||||
AC_MSG_CHECKING([whether to build Xdmx DDX])
 | 
			
		||||
if test "x$DMX" = xauto; then
 | 
			
		||||
	DMX="$have_dmx"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -686,7 +686,6 @@ FreeDeviceClass(int type, pointer *class)
 | 
			
		|||
            {
 | 
			
		||||
                ValuatorClassPtr *v = (ValuatorClassPtr*)class;
 | 
			
		||||
 | 
			
		||||
                /* Counterpart to 'biggest hack ever' in init. */
 | 
			
		||||
                if ((*v)->motion)
 | 
			
		||||
                    xfree((*v)->motion);
 | 
			
		||||
                xfree((*v));
 | 
			
		||||
| 
						 | 
				
			
			@ -908,6 +907,9 @@ CloseDownDevices(void)
 | 
			
		|||
        DeleteInputDeviceRequest(dev);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    CloseDevice(inputInfo.pointer);
 | 
			
		||||
    CloseDevice(inputInfo.keyboard);
 | 
			
		||||
 | 
			
		||||
    inputInfo.devices = NULL;
 | 
			
		||||
    inputInfo.off_devices = NULL;
 | 
			
		||||
    inputInfo.keyboard = NULL;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5080,12 +5080,9 @@ InitEvents(void)
 | 
			
		|||
void
 | 
			
		||||
CloseDownEvents(void)
 | 
			
		||||
{
 | 
			
		||||
    int len;
 | 
			
		||||
    EventListPtr list;
 | 
			
		||||
 | 
			
		||||
    len = GetEventList(&list);
 | 
			
		||||
    while(len--)
 | 
			
		||||
        xfree(list[len].event);
 | 
			
		||||
    FreeEventList(InputEventList, InputEventListLen);
 | 
			
		||||
    InputEventListLen = 0;
 | 
			
		||||
    InputEventList = NULL;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1456,7 +1456,7 @@ checkCoreInputDevices(serverLayoutPtr servlayoutp, Bool implicitLayout)
 | 
			
		|||
#ifdef CONFIG_HAL
 | 
			
		||||
	xf86Msg(X_INFO, "The server relies on HAL to provide the list of "
 | 
			
		||||
	                "input devices.\n\tIf no devices become available, "
 | 
			
		||||
	                "reconfigure HAL or disable AllowEmptyInput.\n");
 | 
			
		||||
	                "reconfigure HAL or disable AutoAddDevices.\n");
 | 
			
		||||
#else
 | 
			
		||||
	xf86Msg(X_INFO, "HAL is disabled and no input devices were configured.\n"
 | 
			
		||||
			"\tTry disabling AllowEmptyInput.\n");
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -131,6 +131,8 @@ AccessXKeyboardEvent(DeviceIntPtr	keybd,
 | 
			
		|||
    event.time = GetTimeInMillis();
 | 
			
		||||
    event.length = sizeof(DeviceEvent);
 | 
			
		||||
    event.key_repeat = isRepeat;
 | 
			
		||||
    event.sourceid = keybd->id;
 | 
			
		||||
    event.deviceid = keybd->id;
 | 
			
		||||
 | 
			
		||||
    if (xkbDebugFlags&0x8) {
 | 
			
		||||
	DebugF("[xkb] AXKE: Key %d %s\n", keyCode,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue