diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-05-01 11:22:53 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-05-01 11:24:59 +1000 |
commit | 4b4b2e3f31cf08073887d8583997eb3340a6c2e1 (patch) | |
tree | 46b66dd452a080f1fa9f0cd92c1dc7de937e5f71 | |
parent | 42dca922d287ffddcf2185ca96738f1505a04c27 (diff) |
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 <simon.thum@gmx.de>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | src/property.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |