mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user