diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2008-07-13 20:23:14 +0930 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2008-07-13 20:54:33 +0930 |
commit | 2bbb12c355308d10bf123911044fbdf6ae7fb59c (patch) | |
tree | ae45ba8bc4c6f4e69c657eeac47a7bce8366d1b6 /Xi | |
parent | 18ff17756c988b6c21b76bf898e45685649d07bb (diff) |
Xi: remove ChangeDeviceControl for CoreCtl.
If you want to set a device to core, attach it to a master device.
Diffstat (limited to 'Xi')
-rw-r--r-- | Xi/chgdctl.c | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/Xi/chgdctl.c b/Xi/chgdctl.c index 26b79f6dc..8c97d8fe8 100644 --- a/Xi/chgdctl.c +++ b/Xi/chgdctl.c @@ -245,20 +245,9 @@ ProcXChangeDeviceControl(ClientPtr client) break; case DEVICE_CORE: - c = (xDeviceCoreCtl *)&stuff[1]; - - status = ChangeDeviceControl(client, dev, (xDeviceCtl *) c); - - if (status == Success) { - dev->coreEvents = c->status; - ret = Success; - } else if (status == DeviceBusy) { - rep.status = DeviceBusy; - ret = Success; - } else { - ret = BadMatch; - } - + /* Sorry, no device core switching no more. If you want a device to + * send core events, attach it to a master device */ + ret = BadMatch; break; case DEVICE_ENABLE: e = (xDeviceEnableCtl *)&stuff[1]; |