evdev: Disable the udev monitor when another vt becomes active
authorBenjamin Franzke <benjaminfranzke@googlemail.com>
Mon, 9 Apr 2012 16:14:58 +0000 (18:14 +0200)
committerJonas Ådahl <jadahl@gmail.com>
Sun, 10 Nov 2013 16:51:28 +0000 (17:51 +0100)
commit38bb7a001bdbf5f8c6256e75cbe7dd479a80d0a2
treeae03e11a4412bc797e49951bc94561c317756221
parent5cc1e3263a5190928234285a74db4f3953a930fa
evdev: Disable the udev monitor when another vt becomes active

We dont want to receive hotplug events while being inactive.
When getting back active we enumerate all devices and would end up
with two sources for one device that may be hotplugged in the mean time.
src/evdev.c
src/evdev.h