Input: Add DeleteInputDeviceRequest

Add DIDR, which asks the DDX to remove a device, analogous to
NewInputDeviceRequest.  Only implemented for XFree86 at the moment.
This commit is contained in:
Magnus Vigerlöf
2007-04-10 23:54:32 +03:00
committed by Daniel Stone
parent 7b82a836c6
commit 82962bbae2
6 changed files with 43 additions and 1 deletions

View File

@@ -212,7 +212,7 @@ configRemoveDevice(DBusMessage *message, DBusMessageIter *iter,
* already been removed. */
OsBlockSignals();
ProcessInputEvents();
RemoveDevice(pDev);
DeleteInputDeviceRequest(pDev);
OsReleaseSignals();
return Success;