mirror of
https://github.com/X11Libre/xf86-input-evdev.git
synced 2026-04-14 11:44:16 +00:00
Compare commits
4 Commits
xf86-input
...
xf86-input
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b125b834f4 | ||
|
|
05b20db8db | ||
|
|
43768d59da | ||
|
|
9c524f6963 |
@@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
AC_PREREQ(2.57)
|
AC_PREREQ(2.57)
|
||||||
AC_INIT([xf86-input-evdev],
|
AC_INIT([xf86-input-evdev],
|
||||||
2.0.0,
|
2.0.1,
|
||||||
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
|
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
|
||||||
xf86-input-evdev)
|
xf86-input-evdev)
|
||||||
|
|
||||||
|
|||||||
@@ -835,6 +835,8 @@ EvdevProc(DeviceIntPtr device, int what)
|
|||||||
xf86Msg(X_WARNING, "%s: Grab failed (%s)\n", pInfo->name,
|
xf86Msg(X_WARNING, "%s: Grab failed (%s)\n", pInfo->name,
|
||||||
strerror(errno));
|
strerror(errno));
|
||||||
xf86AddEnabledDevice(pInfo);
|
xf86AddEnabledDevice(pInfo);
|
||||||
|
if (pEvdev->flags & EVDEV_BUTTON_EVENTS)
|
||||||
|
EvdevMBEmuPreInit(pInfo);
|
||||||
device->public.on = TRUE;
|
device->public.on = TRUE;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@@ -941,7 +943,6 @@ EvdevProbe(InputInfoPtr pInfo)
|
|||||||
|
|
||||||
if (TestBit(BTN_LEFT, key_bitmask)) {
|
if (TestBit(BTN_LEFT, key_bitmask)) {
|
||||||
xf86Msg(X_INFO, "%s: Found mouse buttons\n", pInfo->name);
|
xf86Msg(X_INFO, "%s: Found mouse buttons\n", pInfo->name);
|
||||||
EvdevMBEmuPreInit(pInfo);
|
|
||||||
pEvdev->flags |= EVDEV_BUTTON_EVENTS;
|
pEvdev->flags |= EVDEV_BUTTON_EVENTS;
|
||||||
has_buttons = TRUE;
|
has_buttons = TRUE;
|
||||||
}
|
}
|
||||||
@@ -1051,7 +1052,7 @@ EvdevPreInit(InputDriverPtr drv, IDevPtr dev, int flags)
|
|||||||
/* parse the XKB options during kbd setup */
|
/* parse the XKB options during kbd setup */
|
||||||
|
|
||||||
if (EvdevProbe(pInfo)) {
|
if (EvdevProbe(pInfo)) {
|
||||||
EvdevMBEmuFinalize(pInfo);
|
close(pInfo->fd);
|
||||||
xf86DeleteInput(pInfo, 0);
|
xf86DeleteInput(pInfo, 0);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user