summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@redhat.com>2008-08-07 17:51:34 +0930
committerPeter Hutterer <peter.hutterer@redhat.com>2008-08-07 17:51:34 +0930
commitb0c15823f1faadb24d5b7457f5b5fd1c9f248a1f (patch)
tree0a7590a3f92bbbad9f8dc0c806b56b1e62b833d6
parent5d833a190319b64d81293514027cebaaa3f74ffd (diff)
Print property values in addition to their names.
-rw-r--r--src/property.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/property.c b/src/property.c
index 7342fc4..0e7d437 100644
--- a/src/property.c
+++ b/src/property.c
@@ -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,