possibly compat for stupid other versions of udev

SVN revision: 49322
This commit is contained in:
Mike Blumenkrantz 2010-05-30 07:09:59 +00:00
parent e232fcd42b
commit ca1a90eeee
1 changed files with 2 additions and 1 deletions

View File

@ -79,7 +79,8 @@ _get_syspath_from_watch(void *data, Ecore_Fd_Handler * fd_handler)
goto error;
#endif
if (!udev_device_get_property_value(device, "ID_INPUT_KEYBOARD"))
if ((!udev_device_get_property_value(device, "ID_INPUT_KEYBOARD")) &&
(!udev_device_get_property_value(device, "ID_INPUT_KEY")))
goto error;
break;