Merge remote-tracking branch 'whot/for-keith'

This commit is contained in:
Keith Packard 2013-10-04 13:54:55 -07:00
commit 9ccb4a6398
3 changed files with 7 additions and 2 deletions

View File

@ -226,6 +226,10 @@ device_added(struct udev_device *udev_device)
input_options = input_option_new(input_options, "config_info", config_info);
/* Default setting needed for non-seat0 seats */
if (ServerIsNotSeat0())
input_options = input_option_new(input_options, "GrabDevice", "on");
LogMessage(X_INFO, "config/udev: Adding input device %s (%s)\n",
name, path);
rc = NewInputDeviceRequest(input_options, &attrs, &dev);

View File

@ -102,8 +102,8 @@ typedef struct _myPrivate {
int fd; /**< File descriptor */
unsigned char mask[EV_MAX / 8 + 1]; /**< Mask */
int numRel, numAbs, numLeds; /**< Counts */
int relmap[DMX_MAX_AXES]; /**< Relative axis map */
int absmap[DMX_MAX_AXES]; /**< Absolute axis map */
int relmap[REL_CNT]; /**< Relative axis map */
int absmap[ABS_CNT]; /**< Absolute axis map */
CARD32 kbdState[NUM_STATE_ENTRIES]; /**< Keyboard state */
DeviceIntPtr pKeyboard; /** Keyboard device */

1
test/.gitignore vendored
View File

@ -3,6 +3,7 @@ hashtabletest
input
list
misc
os
string
touch
xfree86