aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/Xi/stubs.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/Xi/stubs.c')
-rw-r--r--xorg-server/Xi/stubs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xorg-server/Xi/stubs.c b/xorg-server/Xi/stubs.c
index 8baa5a09b..39bee7c27 100644
--- a/xorg-server/Xi/stubs.c
+++ b/xorg-server/Xi/stubs.c
@@ -141,4 +141,5 @@ NewInputDeviceRequest(InputOption *options, InputAttributes * attrs,
void
DeleteInputDeviceRequest(DeviceIntPtr dev)
{
+ RemoveDevice(dev, TRUE);
}