From e4153c1d9138ed40de1c615525066a0f5bb599dc Mon Sep 17 00:00:00 2001 From: Julien Cristau Date: Fri, 11 May 2012 21:31:49 +0200 Subject: 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 Signed-off-by: Peter Hutterer Reviewed-by: Peter Hutterer --- Xi/stubs.c | 1 + 1 file changed, 1 insertion(+) (limited to 'Xi') diff --git a/Xi/stubs.c b/Xi/stubs.c index 8baa5a09b..39bee7c27 100644 --- a/Xi/stubs.c +++ b/Xi/stubs.c @@ -141,4 +141,5 @@ NewInputDeviceRequest(InputOption *options, InputAttributes * attrs, void DeleteInputDeviceRequest(DeviceIntPtr dev) { + RemoveDevice(dev, TRUE); } -- cgit v1.2.3