Skip to content

Commit

Permalink
Xi: make stub DeleteInputDeviceRequest call RemoveDevice
Browse files Browse the repository at this point in the history
DeleteInputDeviceRequest is called from CloseDownDevices on reset, so
call RemoveDevice to avoid leaking devices in Xvfb/Xnest/Xwin.

Signed-off-by: Julien Cristau <[email protected]>
Signed-off-by: Peter Hutterer <[email protected]>
Reviewed-by: Peter Hutterer <[email protected]>
  • Loading branch information
jcristau authored and whot committed May 24, 2012
1 parent 2d4fda4 commit e4153c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Xi/stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,4 +141,5 @@ NewInputDeviceRequest(InputOption *options, InputAttributes * attrs,
void
DeleteInputDeviceRequest(DeviceIntPtr dev)
{
RemoveDevice(dev, TRUE);
}

0 comments on commit e4153c1

Please sign in to comment.