Index: xfce4-settings-helper/pointers.c =================================================================== --- xfce4-settings-helper/pointers.c (revision 29983) +++ xfce4-settings-helper/pointers.c (working copy) @@ -42,8 +42,8 @@ #define MAX_DENOMINATOR (100.00) -/* test if the required version of inputproto (1.4.2) is available */ -#if XI_Add_DevicePresenceNotify_Major >= 1 && defined (DeviceRemoved) +/* test if the required version of inputproto (1.5.0) is available */ +#if (XI_Add_DevicePresenceNotify_Major == 1 && XI_Add_DeviceProperties_Minor >= 5) || XI_Add_DevicePresenceNotify_Major > 1 #define HAS_DEVICE_HOTPLUGGING #else #undef HAS_DEVICE_HOTPLUGGING