From b0c15823f1faadb24d5b7457f5b5fd1c9f248a1f Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 7 Aug 2008 17:51:34 +0930 Subject: [PATCH] Print property values in addition to their names. --- src/property.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.56.0