Revert "Add a "flags" field to DeleteInputDeviceRequest."

Peter wants to get a larger patch sequence put together and I didn't
read past the commit message to see the 'don't take this patch
please'.

This reverts commit 531ff40301.
This commit is contained in:
Keith Packard
2010-05-26 07:54:35 -07:00
parent 531ff40301
commit 4e9d3e4132
10 changed files with 14 additions and 18 deletions

View File

@@ -165,7 +165,7 @@ EvdevPtrRead (int evdevPort, void *closure)
n = read (evdevPort, &events, NUM_EVENTS * sizeof (struct input_event));
if (n <= 0) {
if (errno == ENODEV)
DeleteInputDeviceRequest(pi->dixdev, 0);
DeleteInputDeviceRequest(pi->dixdev);
return;
}
@@ -375,7 +375,7 @@ EvdevKbdRead (int evdevPort, void *closure)
n = read (evdevPort, &events, NUM_EVENTS * sizeof (struct input_event));
if (n <= 0) {
if (errno == ENODEV)
DeleteInputDeviceRequest(ki->dixdev, 0);
DeleteInputDeviceRequest(ki->dixdev);
return;
}