aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/config/udev.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-02-15 08:14:29 +0000
committermarha <marha@users.sourceforge.net>2010-02-15 08:14:29 +0000
commitb40e949511ca8c00cd7d13c622b5247145d44ab3 (patch)
treece21480d852a4748ad12a56f3579acf1cbc09f41 /xorg-server/config/udev.c
parentfb89fb367b0defb8016ac97af590a6f5873c217f (diff)
parent6f0a8e51f20073ea01ac5dae8e5c4d49076fc65e (diff)
downloadvcxsrv-b40e949511ca8c00cd7d13c622b5247145d44ab3.tar.gz
vcxsrv-b40e949511ca8c00cd7d13c622b5247145d44ab3.tar.bz2
vcxsrv-b40e949511ca8c00cd7d13c622b5247145d44ab3.zip
svn merge ^/branches/released .
Diffstat (limited to 'xorg-server/config/udev.c')
-rw-r--r--xorg-server/config/udev.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/xorg-server/config/udev.c b/xorg-server/config/udev.c
index 432ab85e9..69257e935 100644
--- a/xorg-server/config/udev.c
+++ b/xorg-server/config/udev.c
@@ -214,7 +214,6 @@ config_udev_init(void)
struct udev *udev;
struct udev_enumerate *enumerate;
struct udev_list_entry *devices, *device;
- int rc;
udev = udev_new();
if (!udev)
@@ -222,10 +221,6 @@ config_udev_init(void)
udev_monitor = udev_monitor_new_from_netlink(udev, "udev");
if (!udev_monitor)
return 0;
- rc = udev_monitor_filter_add_match_subsystem_devtype(udev_monitor,
- "input", NULL);
- if (rc < 0)
- return 0;
if (udev_monitor_enable_receiving(udev_monitor)) {
ErrorF("config/udev: failed to bind the udev monitor\n");
@@ -235,7 +230,6 @@ config_udev_init(void)
enumerate = udev_enumerate_new(udev);
if (!enumerate)
return 0;
- udev_enumerate_add_match_subsystem(enumerate, "input");
udev_enumerate_scan_devices(enumerate);
devices = udev_enumerate_get_list_entry(enumerate);
udev_list_entry_foreach(device, devices) {