From 4b4b2e3f31cf08073887d8583997eb3340a6c2e1 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 1 May 2009 11:22:53 +1000 Subject: [PATCH] Create the float property if it doesn't exist. If we don't have the float property we won't be able to use float properties for device configuration since the drivers may not understand it. We might still want to apply properties for client settings though. Reported-by: Simon Thum Signed-off-by: Peter Hutterer --- src/property.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/property.c b/src/property.c index a21edc6..db46059 100644 --- a/src/property.c +++ b/src/property.c @@ -68,7 +68,7 @@ print_property(Display *dpy, XDevice* dev, Atom property) AnyPropertyType, &act_type, &act_format, &nitems, &bytes_after, &data) == Success) { - Atom float_atom = XInternAtom(dpy, "FLOAT", False); + Atom float_atom = XInternAtom(dpy, "FLOAT", True); ptr = data; -- 2.56.0