evdev: reuse code for device removal
authorTiago Vignatti <tiago.vignatti@intel.com>
Tue, 27 Mar 2012 18:26:01 +0000 (21:26 +0300)
committerJonas Ådahl <jadahl@gmail.com>
Sun, 10 Nov 2013 16:51:28 +0000 (17:51 +0100)
commit9dae61964679ee8b4e12031e6bffe2fd4908b977
treed925f96f81a475246301a6d6c6663225f81c541c
parent8fb6507f549c387e381073b616314fbefb565c0c
evdev: reuse code for device removal

Just like device_added, now the routines to close the compositor and vt switch
leave are using the same code to remove a device.

This patch also closes properly a mtdev device, bug spotted by Christopher
Michael.

Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
src/evdev.c