From 9aa8f4826ed7120ae0ff759c6df40a0d3f37c720 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 27 May 2009 07:33:52 +1000 Subject: [PATCH] Print empty XI2 properties as --- src/property.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/property.c b/src/property.c index e8ce611..59a8aa3 100644 --- a/src/property.c +++ b/src/property.c @@ -620,6 +620,9 @@ print_property_xi2(Display *dpy, int deviceid, Atom property) ptr = data; + if (nitems == 0) + printf(""); + for (j = 0; j < nitems; j++) { switch(act_type) -- 2.56.0