diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2007-11-18 12:36:32 +1030 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2007-12-20 12:07:58 +1030 |
commit | 1b4b4191e09ad01bd818d4307836b37ffd8fa5bd (patch) | |
tree | a4cdf1ab296580e5abc1a652a80663e04d3b2f7d | |
parent | 82dfa529165657edc4e66e072d1515638e1edc66 (diff) |
Print out attachment of slave devices.
-rw-r--r-- | src/list.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -33,6 +33,7 @@ print_info(XDeviceInfo *info, Bool shortformat) XButtonInfoPtr b; XValuatorInfoPtr v; XAxisInfoPtr a; + XAttachInfoPtr att; printf("\"%s\"\tid=%ld\t[", info->name, info->id); @@ -91,6 +92,10 @@ print_info(XDeviceInfo *info, Bool shortformat) printf ("\t\tResolution is %d\n", a->resolution); } break; + case AttachClass: + att = (XAttachInfoPtr)any; + printf("\tAttached to %d\n", att->attached); + break; default: printf ("unknown class\n"); |