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)
committerBenjamin Franzke <benjaminfranzke@googlemail.com>
Mon, 9 Apr 2012 16:20:26 +0000 (18:20 +0200)
commit78d3afe21cdcd8ac284ad9bd08bc1948dd14496e
treea6d4790a1c43d72f8759fd9df86bb55135998942
parentbfeda130de340c090895d23ea0a5742521ff0078
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/compositor-drm.c
src/evdev.c
src/evdev.h