]> diplodocus.org Git - xorg-xinput/blobdiff - src/property.c
Require inputproto 1.9.99.12
[xorg-xinput] / src / property.c
index e8ce611e8c24e31513164c7c9c77436cd97add79..59a8aa37be2687a807171579ce62c584291190ed 100644 (file)
@@ -620,6 +620,9 @@ print_property_xi2(Display *dpy, int deviceid, Atom property)
 
         ptr = data;
 
+        if (nitems == 0)
+            printf("<no items>");
+
         for (j = 0; j < nitems; j++)
         {
             switch(act_type)