]> diplodocus.org Git - xorg-xinput/commitdiff
Print property values in addition to their names.
authorPeter Hutterer <peter.hutterer@redhat.com>
Thu, 7 Aug 2008 08:21:34 +0000 (17:51 +0930)
committerPeter Hutterer <peter.hutterer@redhat.com>
Thu, 7 Aug 2008 08:21:34 +0000 (17:51 +0930)
src/property.c

index 7342fc46e8dc5c21deeeac874d967a5456e0b488..0e7d43799a1b3de25f9a63dee87d1ba34c49eb71 100644 (file)
@@ -50,7 +50,7 @@ print_property(Display *dpy, XDevice* dev, Atom property)
         return;
 
     name = XGetAtomName(dpy, property);
-    printf("\t%s:\t", name);
+    printf("\t%s (%d):\t", name, property);
 
     if (XGetDeviceProperty(dpy, dev, property, 0, 1000, False, False,
                            AnyPropertyType, &act_type, &act_format,