Commit e4153c1d authored by Julien Cristau's avatar Julien Cristau Committed by Peter Hutterer
Browse files

Xi: make stub DeleteInputDeviceRequest call RemoveDevice

DeleteInputDeviceRequest is called from CloseDownDevices on reset, so
call RemoveDevice to avoid leaking devices in Xvfb/Xnest/Xwin.
Signed-off-by: Julien Cristau's avatarJulien Cristau <>
Signed-off-by: Peter Hutterer's avatarPeter Hutterer <>
Reviewed-by: Peter Hutterer's avatarPeter Hutterer <>
parent 2d4fda4b
...@@ -141,4 +141,5 @@ NewInputDeviceRequest(InputOption *options, InputAttributes * attrs, ...@@ -141,4 +141,5 @@ NewInputDeviceRequest(InputOption *options, InputAttributes * attrs,
void void
DeleteInputDeviceRequest(DeviceIntPtr dev) DeleteInputDeviceRequest(DeviceIntPtr dev)
{ {
RemoveDevice(dev, TRUE);
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment